update to only use new Api, incl. dependency to only api (no more phpgwapi and etemplate)

This commit is contained in:
Ralf Becker
2016-04-26 18:27:29 +00:00
parent 7bb134b273
commit 8b671d96f1
15 changed files with 218 additions and 233 deletions

View File

@ -5,7 +5,7 @@
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @package timesheet
* @copyright (c) 2005-8 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @copyright (c) 2005-16 by Ralf Becker <RalfBecker-AT-outdoor-training.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @version $Id$
*/
@ -82,11 +82,13 @@ class timesheet_datasource extends datasource
*
* @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
* @param array $extra =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)
{
unset($element,$target,$extra); // not used, but required by function signature
return false;
}