update.php: Don't check for mbstring extension
authorKevin Israel <pleasestand@live.com>
Tue, 14 Jun 2016 23:38:35 +0000 (19:38 -0400)
committerJforrester <jforrester@wikimedia.org>
Wed, 15 Jun 2016 10:23:21 +0000 (10:23 +0000)
This check is redundant to the one in PHPVersionCheck.php which
was added in 41d1fa1c3a.

Change-Id: I32ab259939ca7e93ad6d08f2c04406ad8a973b5d

maintenance/update.php

index 0103189..b96e7eb 100755 (executable)
@@ -82,13 +82,6 @@ class UpdateMediaWiki extends Maintenance {
                                "ABORTING (see https://bugs.php.net/bug.php?id=45996).\n",
                                true );
                }
-
-               if ( !function_exists( 'mb_strlen' ) ) {
-                       $this->error(
-                               "MediaWiki now requires the mbstring PHP extension, your system doesn't have it.\n"
-                               . "ABORTING.\n",
-                               true );
-               }
        }
 
        function execute() {