diff --git a/calendar/inc/class.calendar_datasource.inc.php b/calendar/inc/class.calendar_datasource.inc.php index eb1bafc479..09cf90aace 100644 --- a/calendar/inc/class.calendar_datasource.inc.php +++ b/calendar/inc/class.calendar_datasource.inc.php @@ -109,10 +109,6 @@ class calendar_datasource extends datasource // if we have multiple participants we have to multiply the time by the number of participants to get the total time $ds['pe_planned_time'] *= count($ds['pe_resources']); - if($data['deleted']) - { - $ds['pe_status'] = 'deleted'; - } /* // ToDO: this does not change automatically after the event is over, // maybe we need a flag for that in egw_pm_elements diff --git a/infolog/inc/class.infolog_datasource.inc.php b/infolog/inc/class.infolog_datasource.inc.php index 637dfe9a36..ae797d9cf1 100644 --- a/infolog/inc/class.infolog_datasource.inc.php +++ b/infolog/inc/class.infolog_datasource.inc.php @@ -71,11 +71,9 @@ class infolog_datasource extends datasource { $data =& $data_id; } - $status = null; return array( 'pe_title' => $this->infolog_bo->link_title($data), - 'pe_status' => $data['info_status'], 'pe_completion' => $data['info_percent'], 'pe_planned_start'=> $data['info_startdate'] ? $data['info_startdate'] : null, 'pe_planned_end' => $data['info_enddate'] ? $data['info_enddate'] : null, diff --git a/timesheet/inc/class.timesheet_datasource.inc.php b/timesheet/inc/class.timesheet_datasource.inc.php index db6dbbc536..3ab868b205 100644 --- a/timesheet/inc/class.timesheet_datasource.inc.php +++ b/timesheet/inc/class.timesheet_datasource.inc.php @@ -54,20 +54,8 @@ class timesheet_datasource extends datasource { $data =& $data_id; } - $status = null; - switch($data['ts_status']) - { - case timesheet_bo::DELETED_STATUS: - $status = 'deleted'; - break; - case '': - default: - $status = 'active'; - break; - } $ds = array( 'pe_title' => $GLOBALS['timesheet_bo']->link_title($data), - 'pe_status' => $status, 'pe_real_start' => $data['ts_start'], 'pe_resources' => array($data['ts_owner']), 'pe_details' => $data['ts_description'] ? nl2br($data['ts_description']) : '',