]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused code in OC_Calendar_App class
authorGeorg Ehrke <dev@georgswebsite.de>
Sat, 31 Mar 2012 20:15:04 +0000 (16:15 -0400)
committerGeorg Ehrke <dev@georgswebsite.de>
Sat, 31 Mar 2012 20:15:04 +0000 (16:15 -0400)
apps/calendar/lib/app.php

index 8bc416d2ce48a011385762d3f7d4da3fc719f287..f8bdbd4a36e1b82e89f5f867807f65f383ec5454 100644 (file)
@@ -194,11 +194,6 @@ class OC_Calendar_App{
                        $vevent = $object->VEVENT;
                }else{
                        $vevent = $event['vevent'];
-               }$last_modified = $vevent->__get('LAST-MODIFIED');
-               if ($last_modified){
-                       $lastmodified = $last_modified->getDateTime()->format('U');
-               }else{
-                       $lastmodified = 0;
                }
                $last_modified = ($vevent->__get('LAST-MODIFIED'))?$last_modified->getDateTime()->format('U'):0;
                $return = array('id'=>(int)$event['id'],