removed unneeded method

This commit is contained in:
Fabien Potencier
2015-01-19 02:18:13 +01:00
parent b7204f1922
commit 175a7c31be
2 changed files with 1 additions and 9 deletions
-8
View File
@@ -488,12 +488,4 @@ abstract class Twig_Template implements Twig_TemplateInterface
return $ret;
}
/**
* This method is only useful when testing Twig. Do not use it.
*/
public static function clearCache()
{
self::$cache = array();
}
}
+1 -1
View File
@@ -396,7 +396,7 @@ class Twig_TemplateTest extends Twig_Template
{
parent::__construct($env);
$this->useExtGetAttribute = $useExtGetAttribute;
Twig_Template::clearCache();
self::$cache = array();
}
public function getZero()