* [FIX] Upgrading issues

This commit is contained in:
nuxsmin
2017-01-12 09:37:50 +01:00
parent c5e5cdebb1
commit a084f4f8ae
20 changed files with 92 additions and 43 deletions

View File

@@ -255,6 +255,11 @@ class ConfigActionController implements ItemControllerInterface
protected function saveConfig(Log $Log)
{
try {
if (Checks::demoIsEnabled()) {
$this->jsonResponse->setDescription(_('Ey, esto es una DEMO!!'));
return;
}
Config::saveConfig();
$this->jsonResponse->setStatus(0);