Merge "Installer: page refresh should refresh list of supported DBs"
[lhc/web/wiklou.git] / includes / installer / WebInstallerPage.php
index 6ac1912..87c4a8f 100644 (file)
@@ -469,7 +469,7 @@ class WebInstaller_DBConnect extends WebInstallerPage {
 
                // It's possible that the library for the default DB type is not compiled in.
                // In that case, instead select the first supported DB type in the list.
-               $compiledDBs = $this->parent->getVar( '_CompiledDBs' );
+               $compiledDBs = $this->parent->getCompiledDBs();
                if ( !in_array( $defaultType, $compiledDBs ) ) {
                        $defaultType = $compiledDBs[0];
                }