From f323cece438ae938188f81ff7c23abd717bd5ca4 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 27 Oct 2010 13:56:58 +0000 Subject: [PATCH] Follow up r75474 --- maintenance/update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() { -- 2.20.1