diff options
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
| -rw-r--r-- | application/modules/user/controllers/PrebootController.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index ee2a684..7e082d3 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -57,11 +57,6 @@ class User_PrebootController extends Zend_Controller_Action $pbsNotifier = new Pbs_Notifier(); $this->view->notification = $pbsNotifier->notify('modify',$result); } - $result = $this->_request->getParam('updateresult'); - if($result != ""){ - $pbsNotifier = new Pbs_Notifier(); - $this->view->notification = $pbsNotifier->notify('update',$result); - } $groupID = $this->membership->getGroupID(); @@ -70,6 +65,9 @@ class User_PrebootController extends Zend_Controller_Action $this->_redirect('/user/index'); $this->view->prebootlist = $this->prebootMapper->findBy(array("groupID" => $groupID)); + foreach ($this->view->prebootlist as $preboot){ + $preboot->setCreated(date(Zend_Registry::get('dateformat'),$preboot->getCreated())); + } // Search $search = $this->_request->getParam('search'); @@ -93,13 +91,6 @@ class User_PrebootController extends Zend_Controller_Action $this->view->pagination = $pagination->pagination(); $this->view->page = $pagination->getRequestPage(); - $this->view->update = array(); - - $update = $this->_request->getParam('checkupdate'); - - foreach ($this->view->prebootlist as $preboot){ - $this->view->update[$preboot->getID()] = $update && $this->checkupdateAction($preboot); - } } public function searchAction(){ |
