diff options
Diffstat (limited to 'app/Controller/Config.php')
-rw-r--r-- | app/Controller/Config.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/Controller/Config.php b/app/Controller/Config.php index ba3c690a..9a376b36 100644 --- a/app/Controller/Config.php +++ b/app/Controller/Config.php @@ -37,7 +37,6 @@ class Config extends Base private function common($redirect) { if ($this->request->isPost()) { - $values = $this->request->getValues(); switch ($redirect) { @@ -55,8 +54,7 @@ class Config extends Base if ($this->config->save($values)) { $this->config->reload(); $this->session->flash(t('Settings saved successfully.')); - } - else { + } else { $this->session->flashError(t('Unable to save your settings.')); } |