Merge "Fix function name in doc comment"
[lhc/web/wiklou.git] / includes / registration / ExtensionRegistry.php
index 3138b37..e462a0b 100644 (file)
@@ -213,8 +213,11 @@ class ExtensionRegistry {
                $autoloadNamespaces = [];
                $autoloaderPaths = [];
                $processor = new ExtensionProcessor();
-               $phpVersion = PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION;
-               $versionChecker = new VersionChecker( $wgVersion, $phpVersion );
+               $versionChecker = new VersionChecker(
+                       $wgVersion,
+                       PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION . '.' . PHP_RELEASE_VERSION,
+                       get_loaded_extensions()
+               );
                $extDependencies = [];
                $incompatible = [];
                $warnings = false;