From 2d234faf9216e49d061ddbd281e2eedf162d1f15 Mon Sep 17 00:00:00 2001 From: Reedy Date: Mon, 11 May 2015 15:34:02 +0100 Subject: [PATCH] Remove PHP4 "support" from using constant in update.php Change-Id: I4743d10a3084a7dc4806d73662b19aa6751b0c18 --- maintenance/update.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maintenance/update.php b/maintenance/update.php index 2ba5dafd51..b8af5e9c81 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -63,8 +63,7 @@ class UpdateMediaWiki extends Maintenance { } function getDbType() { - /* If we used the class constant PHP4 would give a parser error here */ - return 2; /* Maintenance::DB_ADMIN */ + return Maintenance::DB_ADMIN; } function compatChecks() { -- 2.20.1