From 09ec72fad36cbb8f7d3b13531793d55bad790620 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 30 Aug 2009 22:00:11 -0400 Subject: [PATCH] $notification has to be global, at least for the usage in Application.php to work --- kronolith/lib/base.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')) { -- 2.11.0