diff options
| author | michael pereira | 2011-03-31 00:31:24 +0200 |
|---|---|---|
| committer | michael pereira | 2011-03-31 00:31:24 +0200 |
| commit | 75057a1f80aba28e933580725c49de98c7e99155 (patch) | |
| tree | 0ae293831bf5908d176cfddd047dfe9f7ea1a889 /application/modules/user/controllers/PrebootController.php | |
| parent | BootOS update (diff) | |
| download | pbs2-75057a1f80aba28e933580725c49de98c7e99155.tar.gz pbs2-75057a1f80aba28e933580725c49de98c7e99155.tar.xz pbs2-75057a1f80aba28e933580725c49de98c7e99155.zip | |
bootos controller fertig
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
| -rw-r--r-- | application/modules/user/controllers/PrebootController.php | 4 |
1 files changed, 1 insertions, 3 deletions
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){ |
