* [DEV] Config actions refactoring & code cleanup

This commit is contained in:
nuxsmin
2017-01-06 12:06:23 +01:00
parent 1e71cf3ada
commit 687781a557
10 changed files with 587 additions and 458 deletions

View File

@@ -391,6 +391,7 @@ class MainController extends ControllerBase implements ActionsInterface
$this->view->addTemplate('update');
$this->view->assign('hasUpdates', false);
$this->view->assign('updateStatus', null);
if (Config::getConfig()->isCheckUpdates()) {
$updates = Util::checkUpdates();