remove unused code in OC_Calendar_App class

This commit is contained in:
Georg Ehrke 2012-03-31 16:15:04 -04:00
parent 70237f7ecc
commit ca2c7001c4
1 changed files with 0 additions and 5 deletions

View File

@ -194,11 +194,6 @@ class OC_Calendar_App{
$vevent = $object->VEVENT; $vevent = $object->VEVENT;
}else{ }else{
$vevent = $event['vevent']; $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; $last_modified = ($vevent->__get('LAST-MODIFIED'))?$last_modified->getDateTime()->format('U'):0;
$return = array('id'=>(int)$event['id'], $return = array('id'=>(int)$event['id'],