From c7668f097d957853052b97938ec0e9bcccfbcad6 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Mon, 25 Mar 2019 17:27:47 +0100 Subject: [PATCH] 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 --- languages/Language.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. * -- 2.20.1