From f8453268c42601d1a399e81df9b66a1a63383744 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 3 Nov 2009 17:27:04 +0100 Subject: [PATCH] Remove unused variables. --- kronolith/index.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/kronolith/index.php b/kronolith/index.php index e43e9589e..9aa50532a 100644 --- a/kronolith/index.php +++ b/kronolith/index.php @@ -15,8 +15,6 @@ if (!$prefs->getValue('dynamic_view') || !$browser->hasFeature('xmlhttpreq')) { } /* Load Ajax interface. */ -require_once 'Horde/Identity.php'; -$identity = Identity::factory(); $logout_link = Horde::getServiceLink('logout', 'kronolith'); if ($logout_link) { $logout_link = Horde::widget($logout_link, _("_Logout"), 'logout'); @@ -26,17 +24,6 @@ if ($help_link) { $help_link = Horde::widget($help_link, _("Help"), 'helplink', 'help', Horde::popupJs($help_link, array('urlencode' => true)) . 'return false;'); } $today = Kronolith::currentDate(); -$remote_calendars = @unserialize($prefs->getValue('remote_cals')); -$current_user = Horde_Auth::getAuth(); -$my_calendars = array(); -$shared_calendars = array(); -foreach (Kronolith::listCalendars() as $id => $cal) { - if ($cal->get('owner') == $current_user) { - $my_calendars[$id] = $cal; - } else { - $shared_calendars[$id] = $cal; - } -} $_SESSION['horde_prefs']['nomenu'] = true; $datejs = str_replace('_', '-', $language) . '.js'; -- 2.11.0