summaryrefslogtreecommitdiff
path: root/app/Controller/Config.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-17 10:09:03 -0400
commit8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec (patch)
tree289222e21420b8d0092f06de097090f179202f6b /app/Controller/Config.php
parentb40190ee9fd557d86e594208ed77fa762c7dcfb7 (diff)
Run php-cs-fixer on the code base
Diffstat (limited to 'app/Controller/Config.php')
-rw-r--r--app/Controller/Config.php4
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.'));
}