diff --git a/module/report/control.php b/module/report/control.php index 662fd83135..eec768b450 100644 --- a/module/report/control.php +++ b/module/report/control.php @@ -59,24 +59,8 @@ class report extends control $this->display(); } - public function workload($begin = 0, $end = 0) + public function workload() { - if($begin == 0) - { - $begin = date('Y-m-d', strtotime('last month')); - } - else - { - $begin = date('Y-m-d', strtotime($begin)); - } - if($end == 0) - { - $end = date('Y-m-d', strtotime('now')); - } - else - { - $end = date('Y-m-d', strtotime($end)); - } $this->view->header->title = $this->lang->report->workload; $this->view->workload = $this->report->getWorkload(); $this->display();