fix - not removed old code line

This commit is contained in:
Tobias Sekan 2019-10-17 08:10:21 +02:00 committed by GitHub
parent 741627897e
commit daa7f54295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1556,7 +1556,6 @@ class ActionComm extends CommonObject
$dateend = $datestart;
}
$dateend=$this->db->jdate($obj->datep2)-(empty($conf->global->AGENDA_EXPORT_FIX_TZ)?0:($conf->global->AGENDA_EXPORT_FIX_TZ*3600));
$duration=($datestart && $dateend)?($dateend - $datestart):0;
$event['summary']=$obj->label.($obj->socname?" (".$obj->socname.")":"");
$event['desc']=$obj->note;