diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-01 00:15:04 +0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-01 00:15:04 +0400 |
commit | ca2c7001c49a01d00b7d2f9ab924aa82366ad1ba (patch) | |
tree | f7523181e5015e7a24882189dc83f026c5737812 /apps/calendar | |
parent | 70237f7eccebbc83c57df3e7bc3585e285e52579 (diff) |
remove unused code in OC_Calendar_App class
Diffstat (limited to 'apps/calendar')
-rw-r--r-- | apps/calendar/lib/app.php | 5 |
1 files changed, 0 insertions, 5 deletions
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'], |