update some code

This commit is contained in:
Manuel Raynaud
2014-01-08 16:35:17 +01:00
parent 8dcbed7b8d
commit 74b314b5df

View File

@@ -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()
{