diff --git a/cake/libs/string.php b/cake/libs/string.php index 15bd9cb6ff0..10ec4cb348a 100644 --- a/cake/libs/string.php +++ b/cake/libs/string.php @@ -28,24 +28,6 @@ */ class String { -/** - * Gets a reference to the String object instance - * - * @return object String instance - * @access public - * @static - * @deprecated - */ - function &getInstance() { - trigger_error('String::getInstance() is deprecated. All String methods are called statically.', E_USER_WARNING); - static $instance = array(); - - if (!$instance) { - $instance[0] =& new String(); - } - return $instance[0]; - } - /** * Generate a random UUID *