update.php: restore compatibility with PHP4 to die gracefully
This commit is contained in:
parent
d1223c41bb
commit
f2f298ba67
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue