From 1040390ce6fbb54a9346c9e9259e1c8e26deda90 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 30 Mar 2011 17:29:11 -0300 Subject: Workaround for hook_init() --- finder_menu.module | 9 +++++++-- 1 file 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(); } /** -- cgit v1.2.3