This is probably another chicken-and-egg problem, but if we don't call _init()
authorJan Schneider <jan@horde.org>
Wed, 3 Feb 2010 10:28:33 +0000 (11:28 +0100)
committerJan Schneider <jan@horde.org>
Wed, 3 Feb 2010 10:33:57 +0000 (11:33 +0100)
before _initNotification(), we don't have autoloading set up. Of course, with
this order, you can't call app-specific notifications in the _init() method.

framework/Core/lib/Horde/Registry/Application.php

index 0f1daf2..3f87443 100644 (file)
@@ -82,9 +82,8 @@ class Horde_Registry_Application
             }
 
             $GLOBALS['notification'] = Horde_Notification::singleton();
-            $this->_initNotification($GLOBALS['notification']);
-
             $this->_init();
+            $this->_initNotification($GLOBALS['notification']);
         }
     }