--- advuser.module 4 Jun 2006 11:00:25 -0000 1.1 +++ advuser.module 26 Aug 2006 07:42:51 -0000 @@ -16,6 +16,7 @@ * Implementation of hook_menu(). */ function advuser_menu($may_cache) { + theme('add_style', drupal_get_path('module', 'advuser') .'/advuser.css'); $items = array(); if ($may_cache) { @@ -586,10 +587,6 @@ return $output; } -function advuser_init() { - theme_add_style(drupal_get_path('module', 'advuser') .'/advuser.css'); -} -