remove unused code in OC_Calendar_App class
This commit is contained in:
parent
70237f7ecc
commit
ca2c7001c4
|
@ -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'],
|
||||||
|
|
Loading…
Reference in New Issue