diff options
author | Silvio <silvio@devlet.com.br> | 2011-03-30 17:29:11 -0300 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2011-03-30 17:29:11 -0300 |
commit | 1040390ce6fbb54a9346c9e9259e1c8e26deda90 (patch) | |
tree | b95223a869f7701886a24c946334ccc293de4c1a | |
parent | aa2150b2bfddfe4dfbdc8166a2e1abec3fd72641 (diff) | |
download | finder_menu-1040390ce6fbb54a9346c9e9259e1c8e26deda90.tar.gz finder_menu-1040390ce6fbb54a9346c9e9259e1c8e26deda90.tar.bz2 |
Workaround for hook_init()
-rw-r--r-- | finder_menu.module | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/finder_menu.module b/finder_menu.module index a372112..50c8eca 100644 --- a/finder_menu.module +++ b/finder_menu.module @@ -20,8 +20,13 @@ function finder_menu_uninstall() { * Implementation of hook_init(); */ function finder_menu_init() { - theme('finder_menu_css'); - theme('finder_menu_javascript'); + // Call the theme function directly, see + // http://drupal.org/node/219910 + // http://drupal.org/node/64409 + //theme('finder_menu_css'); + //theme('finder_menu_javascript'); + theme_finder_menu_css(); + theme_finder_menu_javascript(); } /** |