mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-17 12:01:20 +02:00
not setting pe_status from datasource (its ignored now anyway)
This commit is contained in:
@ -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']) : '',
|
||||
|
Reference in New Issue
Block a user