$notification has to be global, at least for the usage in Application.php to work
authorChuck Hagenbuch <chuck@horde.org>
Mon, 31 Aug 2009 02:00:11 +0000 (22:00 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Mon, 31 Aug 2009 02:05:13 +0000 (22:05 -0400)
kronolith/lib/base.php

index 7dd053a..1774af7 100644 (file)
@@ -48,8 +48,8 @@ $conf = &$GLOBALS['conf'];
 define('KRONOLITH_TEMPLATES', $registry->get('templates'));
 
 /* Notification system. */
-$notification = Horde_Notification::singleton();
-$GLOBALS['kronolith_notify'] = $notification->attach('status', null, 'Kronolith_Notification_Listener_Status');
+$GLOBALS['notification'] = Horde_Notification::singleton();
+$GLOBALS['kronolith_notify'] = $GLOBALS['notification']->attach('status', null, 'Kronolith_Notification_Listener_Status');
 
 /* Start compression. */
 if (!Horde_Util::nonInputVar('no_compress')) {