Skip to content

Commit

Permalink
Removing deprecated method missed in last release candidate.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Mar 14, 2010
1 parent 1120d0d commit 3d4b1e3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cake/libs/view/helpers/text.php
Expand Up @@ -267,18 +267,6 @@ function truncate($text, $length = 100, $options = array()) {
return $truncate;
}

/**
* 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.
Expand Down

0 comments on commit 3d4b1e3

Please sign in to comment.