From 40be1cc07408259452998a02b7825bc843848295 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 4 Nov 2010 22:26:57 +0100 Subject: [PATCH] Fix session access. --- kronolith/index.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kronolith/index.php b/kronolith/index.php index 7d5cbc40c..06ae900d1 100644 --- a/kronolith/index.php +++ b/kronolith/index.php @@ -28,10 +28,9 @@ $today = new Horde_Date($_SERVER['REQUEST_TIME']); /* Suppress menus in prefs screen and indicate that notifications should use * the ajax mode. */ -$session['horde:notification_override'] = array( - KRONOLITH_BASE . '/lib/Notification/Listener/AjaxStatus.php', - 'Kronolith_Notification_Listener_AjaxStatus' -); +$session->set('horde', 'notification_override', + array(KRONOLITH_BASE . '/lib/Notification/Listener/AjaxStatus.php', + 'Kronolith_Notification_Listener_AjaxStatus')); $eventAlarmMethods = $eventAlarmParams = $taskAlarmMethods = $taskAlarmParams = ''; foreach ($injector->getInstance('Horde_Alarm')->handlers() as $method => $handler) { -- 2.11.0