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/user | |
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/user')
-rw-r--r-- | modules/user/user.info | 1 | ||||
-rw-r--r-- | modules/user/user.module | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/modules/user/user.info b/modules/user/user.info index 338d89e78..cfe9c15a8 100644 --- a/modules/user/user.info +++ b/modules/user/user.info @@ -12,3 +12,4 @@ files[] = user.test files[] = user.tokens.inc required = TRUE configure = admin/config/people +stylesheets[all][] = user.css diff --git a/modules/user/user.module b/modules/user/user.module index 26335081e..403b42899 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -1799,13 +1799,6 @@ function user_admin_paths() { } /** - * Implements hook_init(). - */ -function user_init() { - drupal_add_css(drupal_get_path('module', 'user') . '/user.css', array('preprocess' => TRUE)); -} - -/** * Load either a specified or the current user account. * * @param $uid |