From 60c4c543eda20cc9f7ba5883c88d839361b96120 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 20 Jul 2010 23:51:13 +0200 Subject: [PATCH] Remove unused code. --- kronolith/lib/Event.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kronolith/lib/Event.php b/kronolith/lib/Event.php index 9d53774c0..4ef5718fa 100644 --- a/kronolith/lib/Event.php +++ b/kronolith/lib/Event.php @@ -1847,10 +1847,6 @@ abstract class Kronolith_Event $user = $GLOBALS['registry']->getAuth(); } - $twentyFour = $GLOBALS['prefs']->getValue('twentyFour'); - $start = $this->start->format($twentyFour ? 'G:i' : 'g:ia'); - $end = $this->end->format($twentyFour ? 'G:i' : 'g:ia'); - // We explicitly allow admin access here for the alarms notifications. if (!$GLOBALS['registry']->isAdmin() && $this->private && $this->creator != $user) { -- 2.11.0