removed a function that is not used anymore
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 1 Nov 2011 10:29:09 +0000 (11:29 +0100)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 1 Nov 2011 10:29:09 +0000 (11:29 +0100)
lib/Twig/Extension/Core.php

index d03d641..feb8122 100644 (file)
@@ -735,25 +735,6 @@ function twig_ensure_traversable($seq)
 }
 
 /**
- * Checks that a variable points to the same memory address than another one.
- *
- * <pre>
- * {% if foo.attribute is sameas(false) %}
- *    the foo attribute really is the ``false`` PHP value
- * {% endif %}
- * </pre>
- *
- * @param mixed $value A PHP variable
- * @param mixed $test  The PHP variable to test against
- *
- * @return Boolean true if the values are the same, false otherwise
- */
-function twig_test_sameas($value, $test)
-{
-    return $value === $test;
-}
-
-/**
  * Checks if a variable is empty.
  *
  * <pre>