diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-10 09:54:35 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-10 09:54:35 +0000 |
commit | b86f45b1e688d2b7c6d092b007ece39995f82c3e (patch) | |
tree | 532eb64b175bd21d2b7fdb9e38e9775df72d3169 /modules/tracker | |
parent | 57eecc45f6dee8d0df453937cdbd5765e4174d44 (diff) | |
download | brdo-b86f45b1e688d2b7c6d092b007ece39995f82c3e.tar.gz brdo-b86f45b1e688d2b7c6d092b007ece39995f82c3e.tar.bz2 |
#100516: CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads.
Diffstat (limited to 'modules/tracker')
-rw-r--r-- | modules/tracker/tracker.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tracker/tracker.module b/modules/tracker/tracker.module index 8a06631a1..9eab3e5a7 100644 --- a/modules/tracker/tracker.module +++ b/modules/tracker/tracker.module @@ -74,7 +74,7 @@ function tracker_track_user() { */ function tracker_page($uid = 0) { // Add CSS - drupal_add_css(drupal_get_path('module', 'tracker') .'/tracker.css'); + drupal_add_css(drupal_get_path('module', 'tracker') .'/tracker.css', 'module', 'all', FALSE); if ($uid) { $sql = 'SELECT DISTINCT(n.nid), n.title, n.type, n.changed, n.uid, u.name, l.last_comment_timestamp AS last_post, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid INNER JOIN {users} u ON n.uid = u.uid LEFT JOIN {comments} c ON n.nid = c.nid AND (c.status = %d OR c.status IS NULL) WHERE n.status = 1 AND (n.uid = %d OR c.uid = %d) ORDER BY last_post DESC'; |