aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Setup.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/Setup.php')
-rw-r--r--includes/Setup.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/Setup.php b/includes/Setup.php
index e0c36ba2f3ef..8ecb75a89910 100644
--- a/includes/Setup.php
+++ b/includes/Setup.php
@@ -566,6 +566,17 @@ if ( !$wgCommandLineMode ) {
Pingback::schedulePingback();
}
+$settingsWarnings = $wgSettings->getWarnings();
+if ( $settingsWarnings ) {
+ $logger = LoggerFactory::getInstance( 'Settings' );
+ foreach ( $settingsWarnings as $msg ) {
+ $logger->warning( $msg );
+ }
+ unset( $logger );
+}
+
+unset( $settingsWarnings );
+
// Explicit globals, so this works with bootstrap.php
global $wgFullyInitialised;
$wgFullyInitialised = true;