projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d661c2a
)
removed obsolete code
author
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 16 May 2012 14:01:19 +0000 (16:01 +0200)
committer
Fabien Potencier
<fabien.potencier@gmail.com>
Wed, 16 May 2012 14:01:19 +0000 (16:01 +0200)
lib/Twig/Template.php
patch
|
blob
|
history
diff --git
a/lib/Twig/Template.php
b/lib/Twig/Template.php
index
9357781
..
6067ec0
100644
(file)
--- a/
lib/Twig/Template.php
+++ b/
lib/Twig/Template.php
@@
-375,14
+375,6
@@
abstract class Twig_Template implements Twig_TemplateInterface
// object property
if (Twig_TemplateInterface::METHOD_CALL !== $type) {
- /* apparently, this is not needed as this is already covered by the array_key_exists() call below
- if (!isset(self::$cache[$class]['properties'])) {
- foreach (get_object_vars($object) as $k => $v) {
- self::$cache[$class]['properties'][$k] = true;
- }
- }
- */
-
if (isset($object->$item) || array_key_exists($item, $object)) {
if ($isDefinedTest) {
return true;