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:
Ralf Becker 2006-04-08 06:24:22 +00:00
parent 5b0e8263fa
commit 5bf2721e75

View File

@ -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;
}
}