From 51f93346d6927603c04a52611045c8388ad9279f Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 19 Mar 2017 14:57:36 +0000 Subject: [PATCH] Standards, like always --- util/maintenance.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/maintenance.php b/util/maintenance.php index a49bf01ac6..b313783a7d 100644 --- a/util/maintenance.php +++ b/util/maintenance.php @@ -17,13 +17,13 @@ unset($db_host, $db_user, $db_pass, $db_data); Config::load(); $maint_mode = 1; -if($argc > 1) { +if ($argc > 1) { $maint_mode = intval($argv[1]); } Config::set('system', 'maintenance', $maint_mode); -if($maint_mode AND ($argc > 2)) { +if ($maint_mode AND ($argc > 2)) { $reason_arr = $argv; array_shift($reason_arr); array_shift($reason_arr); @@ -34,7 +34,7 @@ if($maint_mode AND ($argc > 2)) { Config::set('system', 'maintenance_reason', ''); } -if($maint_mode) { +if ($maint_mode) { $mode_str = "maintenance mode"; } else { $mode_str = "normal mode"; -- 2.39.5