diff --git a/lib/Doctrine/ORM/ORMException.php b/lib/Doctrine/ORM/ORMException.php index bf200b7d5..90611ac33 100644 --- a/lib/Doctrine/ORM/ORMException.php +++ b/lib/Doctrine/ORM/ORMException.php @@ -275,16 +275,6 @@ class ORMException extends Exception )); } - /** - * @param string $className - * - * @return ORMException - */ - public static function invalidSecondLevelCache($className) - { - return new self(sprintf('Invalid cache class "%s". It must be a Doctrine\ORM\Cache.', $className)); - } - /** * @param string $className * @param string $fieldName