Cleanup most of the DIY extension detection/dl() code into nice clean wfDl()
[lhc/web/wiklou.git] / includes / installer / Installer.php
index 9e734a7..b923394 100644 (file)
@@ -38,6 +38,7 @@ abstract class Installer {
                'wgLogo',
                'wgShellLocale',
                'wgSecretKey',
+               'wgExternalDiffEngine',
        );
 
        /**
@@ -350,16 +351,6 @@ abstract class Installer {
                        $this->setVar( $name, $value );
                }
        }
-
-       /**
-        * Returns true if dl() can be used
-        */
-       function haveDl() {
-               return function_exists( 'dl' )
-                       && is_callable( 'dl' )
-                       && wfIniGetBool( 'enable_dl' )
-                       && !wfIniGetBool( 'safe_mode' );
-       }
        
        /** Check if we're installing the latest version */
        function envLatestVersion() {