update.php: restore compatibility with PHP4 to die gracefully

This commit is contained in:
Max Semenik 2011-03-19 19:48:29 +00:00
parent d1223c41bb
commit f2f298ba67

View file

@ -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(