From 578f9927319a6fd80ebbcc0c1173f1cdf3c75639 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Mon, 20 Jul 2015 16:27:27 +0800 Subject: [PATCH] MDL-50416 environment: remove slasharguments warning from install --- lib/upgradelib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/upgradelib.php b/lib/upgradelib.php index 631b162536e..d404e590c39 100644 --- a/lib/upgradelib.php +++ b/lib/upgradelib.php @@ -2226,7 +2226,7 @@ function check_database_storage_engine(environment_results $result) { function check_slasharguments(environment_results $result){ global $CFG; - if (empty($CFG->slasharguments)) { + if (!during_initial_install() && empty($CFG->slasharguments)) { $result->setInfo('slasharguments'); $result->setStatus(false); return $result;