From 75057a1f80aba28e933580725c49de98c7e99155 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Thu, 31 Mar 2011 00:31:24 +0200 Subject: bootos controller fertig --- application/modules/user/controllers/PrebootController.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'application/modules/user/controllers/PrebootController.php') diff --git a/application/modules/user/controllers/PrebootController.php b/application/modules/user/controllers/PrebootController.php index 716b9fa..4a0a95a 100644 --- a/application/modules/user/controllers/PrebootController.php +++ b/application/modules/user/controllers/PrebootController.php @@ -172,7 +172,6 @@ class User_PrebootController extends Zend_Controller_Action if (!is_numeric($prebootID)) $this->_redirect('/user/preboot/index/updateresult/forbidden'); - $preboot = new Application_Model_PreBoot(); $this->prebootMapper->find($prebootID,$preboot); @@ -185,7 +184,7 @@ class User_PrebootController extends Zend_Controller_Action exec("wget -O '".$path_preboot."preboot.zip' ".escapeshellcmd($preboot->getPath_preboot())." 2>&1 | grep 'saved'", $status); if(!array_pop($status)){ - $this->_redirect('/user/preboot/index/modifyresult/404'); + $this->_redirect('/user/preboot/index/updateresult/404'); } try{ @@ -306,7 +305,6 @@ class User_PrebootController extends Zend_Controller_Action } try { - $this->prebootMapper->save($preboot); }catch(Zend_Exception $e){ -- cgit v1.2.3-55-g7522