Not silly, but parser error (r89263)... fixing
authorPlatonides <platonides@users.mediawiki.org>
Wed, 1 Jun 2011 22:04:44 +0000 (22:04 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 1 Jun 2011 22:04:44 +0000 (22:04 +0000)
PHP Parse error:  syntax error, unexpected T_STRING, expecting T_VARIABLE in ExtensionUpdater.php on line 7

includes/installer/ExtensionUpdater.php

index 5940457..d827af0 100644 (file)
@@ -4,7 +4,7 @@ class ExtensionUpdater extends DatabaseUpdater {
 
        // overload the constructor, so the init and hooks don't get called
        // while still have all the patching code without duplicating
-       public __construct( DatabaseBase &$db, $shared, Maintenance $maintenance = null  ) {
+       public function __construct( DatabaseBase &$db, $shared, Maintenance $maintenance = null  ) {
                $this->db = $db;
                $this->shared = $shared;
                $this->maintenance = $maintenance;