Braces and spaces
[lhc/web/wiklou.git] / maintenance / commandLine.inc
index ab7c0a8..0720e76 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Backwards-compatibility wrapper for old-style maintenance scripts
  */
-require( dirname(__FILE__) . '/Maintenance.php' );
+require( dirname( __FILE__ ) . '/Maintenance.php' );
 
 if ( !isset( $optionsWithArgs ) ) {
     $optionsWithArgs = array();
@@ -18,7 +18,7 @@ class CommandLineInc extends Maintenance {
                }
        }
 
-       protected function getDbType() {
+       public function getDbType() {
                global $wgUseNormalUser;
 
                return ( isset( $wgUseNormalUser ) && $wgUseNormalUser ) ?