From 6eccac95f281f8ee144a8eeb6202eff165aa2691 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Jan 2019 12:19:26 +0300 Subject: [PATCH] fix 'logging to...' output line not respecting quiet setting --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);