Permalink
Browse files

Removing deprecated method missed in last release candidate.

  • Loading branch information...
1 parent 1120d0d commit 3d4b1e365dccaeaae40683fd472977dc6d651e27 @markstory markstory committed Mar 14, 2010
Showing with 0 additions and 12 deletions.
  1. +0 −12 cake/libs/view/helpers/text.php
View
12 cake/libs/view/helpers/text.php
@@ -268,18 +268,6 @@ function truncate($text, $length = 100, $options = array()) {
}
/**
- * Alias for truncate().
- *
- * @see TextHelper::truncate()
- * @access public
- */
- function trim() {
- trigger_error(__('TextHelper::trim() is deprecated. Use TextHelper::truncate() instead', true), E_USER_WARNING);
- $args = func_get_args();
- return call_user_func_array(array(&$this, 'truncate'), $args);
- }
-
-/**
* Extracts an excerpt from the text surrounding the phrase with a number of characters on each side
* determined by radius.
*

0 comments on commit 3d4b1e3

Please sign in to comment.