diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-05 02:21:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-05 02:21:38 +0000 |
commit | fb9c1df0b942df39115a9130dfa76e2b3fd33217 (patch) | |
tree | 7dce29a2f9eebf607d9106fa2f1aed6fbe0d8b61 /modules/poll | |
parent | 8e51c3b2a5796737583b59a4970812ff66755b38 (diff) | |
download | brdo-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/poll')
-rw-r--r-- | modules/poll/poll.info | 1 | ||||
-rw-r--r-- | modules/poll/poll.module | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/modules/poll/poll.info b/modules/poll/poll.info index fd2f3149b..a61b1ec66 100644 --- a/modules/poll/poll.info +++ b/modules/poll/poll.info @@ -9,3 +9,4 @@ files[] = poll.pages.inc files[] = poll.install files[] = poll.test files[] = poll.tokens.inc +stylesheets[all][] = poll.css diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 3d38f46b0..1de52b55f 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -28,13 +28,6 @@ function poll_help($path, $arg) { } /** - * Implements hook_init(). - */ -function poll_init() { - drupal_add_css(drupal_get_path('module', 'poll') . '/poll.css', array('preprocess' => TRUE)); -} - -/** * Implements hook_theme(). */ function poll_theme() { |