summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2014-11-05 11:34:10 (GMT)
committerAlex Pott2014-11-05 11:34:10 (GMT)
commit0287c86ce3576005649c8ff5d06d0a95c97fbcb1 (patch)
tree0d9e55e06d471d6e37765593637ef0d570e968aa
parent104f1dc12c1a38b3ad8f9d9797f3d92166b7cfa5 (diff)
Issue #2361799 by Palashvijay4O | rpayanm: Remove drupal_strlen.
-rw-r--r--core/includes/unicode.inc17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/includes/unicode.inc b/core/includes/unicode.inc
index 81a68a1..78c095b 100644
--- a/core/includes/unicode.inc
+++ b/core/includes/unicode.inc
@@ -188,23 +188,6 @@ function mime_header_decode($header) {
}
/**
- * Counts the number of characters in a UTF-8 string.
- *
- * @param $text
- * The string to run the operation on.
- *
- * @return integer
- * The length of the string.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.0.
- * Use \Drupal\Component\Utility\Unicode::strlen().
- * @ingroup php_wrappers
- */
-function drupal_strlen($text) {
- return Unicode::strlen($text);
-}
-
-/**
* Cuts off a piece of a string based on character indices and counts.
*
* @param $text