mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 04:16:28 +00:00
removed unneeded method
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user