made Twig_Autoloader::autoload() a static method
authorfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Thu, 15 Oct 2009 06:30:49 +0000 (06:30 +0000)
committerfabien <fabien@93ef8e89-cb99-4229-a87c-7fa0fa45744b>
Thu, 15 Oct 2009 06:30:49 +0000 (06:30 +0000)
git-svn-id: http://svn.twig-project.org/trunk@57 93ef8e89-cb99-4229-a87c-7fa0fa45744b

CHANGELOG
lib/Twig/Autoloader.php

index 2142cc2..3bb1721 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,5 +1,6 @@
 * 0.9.2-DEV
 
+ * made Twig_Autoloader::autoload() a static method
  * avoid writing template file if an error occurs
  * added $ escaping when outputting raw strings
  * enhanced some error messages to ease debugging
index bb30b6b..a3b30ec 100644 (file)
@@ -34,7 +34,7 @@ class Twig_Autoloader
    *
    * @return boolean Returns true if the class has been loaded
    */
-  public function autoload($class)
+  static public function autoload($class)
   {
     if (0 !== strpos($class, 'Twig'))
     {