diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:25:43 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-11-26 10:25:43 +0100 |
commit | 4fcab9869497eb0109506069305f858a1a4a5a4e (patch) | |
tree | 2761d30219d5b07641c6b40fa3ec56f286bc7e26 /lib/public/util.php | |
parent | dd18ea611bd0e66969df22aedddc98cddbba4984 (diff) | |
download | nextcloud-server-4fcab9869497eb0109506069305f858a1a4a5a4e.tar.gz nextcloud-server-4fcab9869497eb0109506069305f858a1a4a5a4e.zip |
Remove unused internal methods
* removes OC_Helper::mb_substr_replace and OC_Helper::mb_str_replace
* keeps public interface wrapper working as expected
Diffstat (limited to 'lib/public/util.php')
-rw-r--r-- | lib/public/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/util.php b/lib/public/util.php index 07bc47c18b4..50fe9185006 100644 --- a/lib/public/util.php +++ b/lib/public/util.php @@ -544,7 +544,7 @@ class Util { * @deprecated 8.2.0 Use substr_replace() instead. */ public static function mb_substr_replace($string, $replacement, $start, $length = null, $encoding = 'UTF-8') { - return(\OC_Helper::mb_substr_replace($string, $replacement, $start, $length, $encoding)); + return substr_replace($string, $replacement, $start, $length); } /** @@ -560,7 +560,7 @@ class Util { * @deprecated 8.2.0 Use str_replace() instead. */ public static function mb_str_replace($search, $replace, $subject, $encoding = 'UTF-8', &$count = null) { - return(\OC_Helper::mb_str_replace($search, $replace, $subject, $encoding, $count)); + return str_replace($search, $replace, $subject, $count); } /** |