From 3f862f8b9ae7d05b248c3f09528bb729d558a1f5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 23 Aug 2013 07:35:42 +0000 Subject: [PATCH] remove an old js() method from timesheet_ui which were no longer used in the code. --- timesheet/inc/class.timesheet_ui.inc.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/timesheet/inc/class.timesheet_ui.inc.php b/timesheet/inc/class.timesheet_ui.inc.php index dc3d7a4fd1..9f59611c86 100644 --- a/timesheet/inc/class.timesheet_ui.inc.php +++ b/timesheet/inc/class.timesheet_ui.inc.php @@ -904,9 +904,6 @@ class timesheet_ui extends timesheet_bo $sel_options['ts_project'] = $projects + array(lang('No project')); } - // to be moved in a seperate file if rewrite is over - $GLOBALS['egw_info']['flags']['java_script'] .= $this->js(); - // dont show [Export] button if app is not availible to the user or we are on php4 $readonlys['export'] = !$GLOBALS['egw_info']['user']['apps']['importexport'] || (int) phpversion() < 5; return $etpl->exec(TIMESHEET_APP.'.timesheet_ui.index',$content,$sel_options,$readonlys,$preserv); @@ -1223,18 +1220,4 @@ class timesheet_ui extends timesheet_bo $etpl = new etemplate_new('timesheet.editstatus'); $etpl->exec('timesheet.timesheet_ui.editstatus',$content,$sel_options,$readonlys,$preserv); } - - function js() - { - return ''; - } }