diff options
author | Andrew Dolgov <[email protected]> | 2019-01-21 12:19:26 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-01-21 12:19:26 +0300 |
commit | 6eccac95f281f8ee144a8eeb6202eff165aa2691 (patch) | |
tree | d67dcb0a49ee3b1bf570207dd61baf3a06904833 | |
parent | 506ddd829721fc17fb9f5a1bf1b77bc029c12ae7 (diff) |
fix 'logging to...' output line not respecting quiet setting
-rwxr-xr-x | update.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php index cddad0e8f..a72e3445f 100755 --- a/update.php +++ b/update.php @@ -123,9 +123,9 @@ } if (isset($options["log"])) { + Debug::set_quiet(isset($options['quiet'])); Debug::set_logfile($options["log"]); Debug::log("Logging to " . $options["log"]); - Debug::set_quiet(isset($options['quiet'])); } else { if (isset($options['quiet'])) { Debug::set_loglevel(Debug::$LOG_DISABLED); |