From: Jan Schneider Date: Wed, 3 Feb 2010 10:28:33 +0000 (+0100) Subject: This is probably another chicken-and-egg problem, but if we don't call _init() X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0f62ae465b7a2efa7f6df9ca17940f47e47115cf;p=horde.git This is probably another chicken-and-egg problem, but if we don't call _init() 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. --- diff --git a/framework/Core/lib/Horde/Registry/Application.php b/framework/Core/lib/Horde/Registry/Application.php index 0f1daf28f..3f874436a 100644 --- a/framework/Core/lib/Horde/Registry/Application.php +++ b/framework/Core/lib/Horde/Registry/Application.php @@ -82,9 +82,8 @@ class Horde_Registry_Application } $GLOBALS['notification'] = Horde_Notification::singleton(); - $this->_initNotification($GLOBALS['notification']); - $this->_init(); + $this->_initNotification($GLOBALS['notification']); } }