From: Georg Ehrke Date: Sat, 31 Mar 2012 20:15:04 +0000 (-0400) Subject: remove unused code in OC_Calendar_App class X-Git-Tag: v4.0.0beta~244^2~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ca2c7001c49a01d00b7d2f9ab924aa82366ad1ba;p=nextcloud-server.git remove unused code in OC_Calendar_App class --- diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 8bc416d2ce4..f8bdbd4a36e 100644 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -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'],