Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing String::getInstance() as it was causing fatal errors when eA…

…ccelerator was enabled, and is a deprecated method.
  • Loading branch information...
commit 8315b48e77ed5ba42480dcec7d2882e80815a515 1 parent dc76904
@markstory markstory authored
Showing with 0 additions and 18 deletions.
  1. +0 −18 cake/libs/string.php
View
18 cake/libs/string.php
@@ -29,24 +29,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
*
* @see http://www.ietf.org/rfc/rfc4122.txt
Please sign in to comment.
Something went wrong with that request. Please try again.