Remove unused code.
authorJan Schneider <jan@horde.org>
Tue, 20 Jul 2010 21:51:13 +0000 (23:51 +0200)
committerJan Schneider <jan@horde.org>
Mon, 26 Jul 2010 21:34:08 +0000 (23:34 +0200)
kronolith/lib/Event.php

index 9d53774..4ef5718 100644 (file)
@@ -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) {