forked from extern/egroupware
fixed handling of timesheets in templates or copying of projects: timesheets are NOT copied or linked to the new project
--> empty copy method returning false
This commit is contained in:
parent
5b0e8263fa
commit
5bf2721e75
@ -83,4 +83,17 @@ class datasource_timesheet extends datasource
|
||||
}
|
||||
return $ds;
|
||||
}
|
||||
|
||||
/**
|
||||
* Copy method (usally copies a projectelement) returns only false to prevent copying
|
||||
*
|
||||
* @param array $element source project element representing an InfoLog entry, $element['pe_app_id'] = info_id
|
||||
* @param int $target target project id
|
||||
* @param array $target_data=null data of target-project, atm not used by the infolog datasource
|
||||
* @return array/boolean array(info_id,link_id) on success, false otherwise
|
||||
*/
|
||||
function copy($element,$target,$extra=null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user