summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-05-31 08:12:36 +0200
committerLukas Reschke <lukas@owncloud.com>2016-05-31 08:12:36 +0200
commita23df94af18bfa814c1665f67f3b660de993eb91 (patch)
treec1ef8f8496bdb4b110876660686f28f58f5ff7ce /lib/private/legacy
parentb2e524b9367511e0496f22d45c87ecc974dda2ed (diff)
downloadnextcloud-server-a23df94af18bfa814c1665f67f3b660de993eb91.tar.gz
nextcloud-server-a23df94af18bfa814c1665f67f3b660de993eb91.zip
Properly check for mbstring extension
mb_detect_encoding is in the fallback we ship in the polyfill library, mb_strcut is not. Thus this lead to a false positive and ownCloud would just break.
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index e3d678f568d..b744db21238 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -738,7 +738,7 @@ class OC_Util {
),
'functions' => [
'xml_parser_create' => 'libxml',
- 'mb_detect_encoding' => 'mb multibyte',
+ 'mb_strcut' => 'mb multibyte',
'ctype_digit' => 'ctype',
'json_encode' => 'JSON',
'gd_info' => 'GD',