Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-01 00:15:04 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-01 00:15:04 +0400
commitca2c7001c49a01d00b7d2f9ab924aa82366ad1ba (patch)
treef7523181e5015e7a24882189dc83f026c5737812 /apps/calendar
parent70237f7eccebbc83c57df3e7bc3585e285e52579 (diff)
remove unused code in OC_Calendar_App class
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/app.php5
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'],