From: Max Semenik Date: Sat, 19 Mar 2011 19:48:29 +0000 (+0000) Subject: update.php: restore compatibility with PHP4 to die gracefully X-Git-Tag: 1.31.0-rc.0~31313 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=f2f298ba67c6d16b40aaade842d45cc48205f045;p=lhc%2Fweb%2Fwiklou.git update.php: restore compatibility with PHP4 to die gracefully --- diff --git a/maintenance/update.php b/maintenance/update.php index 99d8813999..e4e874e928 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -50,7 +50,7 @@ class UpdateMediaWiki extends Maintenance { return 2 /* Maintenance::DB_ADMIN */; } - private function compatChecks() { + function compatChecks() { $test = new PhpXmlBugTester(); if ( !$test->ok ) { $this->error(