summaryrefslogtreecommitdiffstats
path: root/application/modules/user/controllers/PrebootController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/user/controllers/PrebootController.php')
-rw-r--r--application/modules/user/controllers/PrebootController.php4
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){