From: Chuck Hagenbuch Date: Mon, 31 Aug 2009 02:00:11 +0000 (-0400) Subject: $notification has to be global, at least for the usage in Application.php to work X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=09ec72fad36cbb8f7d3b13531793d55bad790620;p=horde.git $notification has to be global, at least for the usage in Application.php to work --- diff --git a/kronolith/lib/base.php b/kronolith/lib/base.php index 7dd053a56..1774af71f 100644 --- a/kronolith/lib/base.php +++ b/kronolith/lib/base.php @@ -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')) {