From 74b314b5df3ab67a107ef87c2a8e0be996c27330 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Wed, 8 Jan 2014 16:35:17 +0100 Subject: [PATCH] update some code --- core/lib/Thelia/Install/Update.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/core/lib/Thelia/Install/Update.php b/core/lib/Thelia/Install/Update.php index 22d311b5c..0a1011aec 100644 --- a/core/lib/Thelia/Install/Update.php +++ b/core/lib/Thelia/Install/Update.php @@ -49,25 +49,6 @@ class Update return $lastEntry == $version; } -/* - public function indexAction() - { - // Check current user authorization - if (null !== $response = $this->checkAuth(AdminResources::UPDATE, array(), AccessManager::VIEW)) { - return $response; - } - - $currentVersion = ConfigQuery::read('thelia_version'); - - if(true === $this->isLatestVersion($currentVersion)) { - return $this->render('update-notneeded'); - } else { - return $this->render('update', array( - 'current_version' => $currentVersion, - 'latest_version' => end(self::$version) - )); - } - }*/ public function process() {