From 5ce39553e27369e613ae16987a6bdccc5b380c40 Mon Sep 17 00:00:00 2001 From: Kevin Israel Date: Fri, 8 Apr 2016 00:44:33 -0400 Subject: [PATCH] Fix mbstring check in update.php Maintenance::error() will not cause the script to exit unless the $die argument, when cast as an integer, is greater than 0. Since the default value is 0, specify a different one, as in the other calls from within the same function. Follows-up 943563062f0a6995. Change-Id: I3af72b1cd87c63d7f57436866633e86c272e904f --- maintenance/update.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maintenance/update.php b/maintenance/update.php index e487449eef..775fa7bed4 100755 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -87,7 +87,8 @@ class UpdateMediaWiki extends Maintenance { if ( !function_exists( 'mb_strlen' ) ) { $this->error( "MediaWiki now requires the mbstring PHP extension, your system doesn't have it.\n" - . "ABORTING.\n" ); + . "ABORTING.\n", + true ); } } -- 2.20.1