CC-5781: Upgrade script for new storage quota implementation

Returns error if API key is incorrect
Set the upgrade controller to skip login authentication
This commit is contained in:
drigato 2014-04-10 09:28:23 -04:00
parent bae0c564d0
commit b9b3e95caa
2 changed files with 5 additions and 5 deletions

View file

@ -117,7 +117,7 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract
return;
}
if (in_array($controller, array("api", "auth", "locale"))) {
if (in_array($controller, array("api", "auth", "locale", "upgrade"))) {
$this->setRoleName("G");
} elseif (!Zend_Auth::getInstance()->hasIdentity()) {