From: Lucas Werkmeister Date: Mon, 25 Mar 2019 16:27:47 +0000 (+0100) Subject: Fix reference to removed truncate() function X-Git-Tag: 1.34.0-rc.0~2307^2 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=c7668f097d957853052b97938ec0e9bcccfbcad6;p=lhc%2Fweb%2Fwiklou.git Fix reference to removed truncate() function truncate() was removed in change I7a3f7a3327 (commit a1b894cc42, task T197492), so change the documentation to refer to the still existing truncateForDatabase() instead. Change-Id: I26cf6521e15eb6f61ad09c92b2d56831590b6663 --- diff --git a/languages/Language.php b/languages/Language.php index 9eea7ab1b8..71d350fd28 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -3515,8 +3515,8 @@ class Language { * Truncate a string to a specified number of characters, appending an optional * string (e.g. for ellipsis). * - * This provides multibyte version of truncate() method of this class, suitable for truncation - * based on number of characters, instead of number of bytes. + * This provides multibyte version of truncateForDatabase() method of this class, + * suitable for truncation based on number of characters, instead of number of bytes. * * If $length is negative, the string will be truncated from the beginning. *