Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-05-27 04:58:30 +0300
committerGitHub <noreply@github.com>2021-05-27 04:58:30 +0300
commitc973567705a0065fdd7d7c7b11b80f1f0f1be350 (patch)
tree89947dbce864ac48389c742fce31d30106eebada /core/Date.php
parent70b05de003487a31495bb9927017606a2faab7dd (diff)
Update PHP extension requirements & deprecate Common::mb_* methods (#16754)
* Require polyfill for mbstring and iconv * remove mbstring methods from upgrade.php * remove checks for some php extensions * deprecate Common::mb_* methods, as we can directly use mb_* functions instead * updates expected test files * Directly use mb_* methods in favor of Common::mb_* * Update expected screenshot Co-authored-by: diosmosis <diosmosis@users.noreply.github.com>
Diffstat (limited to 'core/Date.php')
-rw-r--r--core/Date.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Date.php b/core/Date.php
index 328467ab67..82a3df42a6 100644
--- a/core/Date.php
+++ b/core/Date.php
@@ -800,7 +800,7 @@ class Date
}
if ($ucfirst) {
- $out = Common::mb_strtoupper(Common::mb_substr($out, 0, 1)) . Common::mb_substr($out, 1);
+ $out = mb_strtoupper(mb_substr($out, 0, 1)) . mb_substr($out, 1);
}
return $out;