From: Kevin Israel Date: Fri, 8 Apr 2016 04:44:33 +0000 (-0400) Subject: Fix mbstring check in update.php X-Git-Tag: 1.31.0-rc.0~7349 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=5ce39553e27369e613ae16987a6bdccc5b380c40;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ); } }