summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-05 02:21:38 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-05 02:21:38 +0000
commitfb9c1df0b942df39115a9130dfa76e2b3fd33217 (patch)
tree7dce29a2f9eebf607d9106fa2f1aed6fbe0d8b61 /modules/aggregator
parent8e51c3b2a5796737583b59a4970812ff66755b38 (diff)
downloadbrdo-fb9c1df0b942df39115a9130dfa76e2b3fd33217.tar.gz
brdo-fb9c1df0b942df39115a9130dfa76e2b3fd33217.tar.bz2
- Patch #328357 by bleen18, sun, skilip, alanburke, jenlampton, manarth, fgm, tstoeckler: allow module .info files to add CSS/JS.
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.info1
-rw-r--r--modules/aggregator/aggregator.module7
2 files changed, 1 insertions, 7 deletions
diff --git a/modules/aggregator/aggregator.info b/modules/aggregator/aggregator.info
index d94344022..ae67bbb83 100644
--- a/modules/aggregator/aggregator.info
+++ b/modules/aggregator/aggregator.info
@@ -13,3 +13,4 @@ files[] = aggregator.processor.inc
files[] = aggregator.install
files[] = aggregator.test
configure = admin/config/services/aggregator/settings
+stylesheets[all][] = aggregator.css
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index b82bb6484..d9afbe66f 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -283,13 +283,6 @@ function _aggregator_category_title($category) {
}
/**
- * Implements hook_init().
- */
-function aggregator_init() {
- drupal_add_css(drupal_get_path('module', 'aggregator') . '/aggregator.css', array('preprocess' => TRUE));
-}
-
-/**
* Find out whether there are any aggregator categories.
*
* @return