From: Platonides Date: Wed, 27 Oct 2010 13:56:58 +0000 (+0000) Subject: Follow up r75474 X-Git-Tag: 1.31.0-rc.0~34273 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=f323cece438ae938188f81ff7c23abd717bd5ca4;p=lhc%2Fweb%2Fwiklou.git Follow up r75474 --- diff --git a/maintenance/update.php b/maintenance/update.php index 84a1d46242..57ce9aaafe 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -3,6 +3,7 @@ * Run all updaters. * * This is used when the database schema is modified and we need to apply patches. + * It is kept compatible with php 4 parsing so that it can give out a meaningful error. * * @file * @todo document @@ -30,7 +31,7 @@ class UpdateMediaWiki extends Maintenance { } function getDbType() { - return DB_ADMIN; + return 2 /* Maintenance::DB_ADMIN */; } function execute() {