From 7c9aed9299f28cc6105804c8027314111816e22e Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Sat, 20 Feb 2010 23:22:55 +0000 Subject: [PATCH] remove debug code --- README | 2 +- libs/Smarty.class.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README b/README index 9a425ff1..5a1bd3f7 100644 --- a/README +++ b/README @@ -224,7 +224,7 @@ Object method chaining is implemented. Example: {$object->method1($x)->method2($y)} {for} tag added for looping (replacement for {section} tag): -{for $x=0, $y=count($foo); $x<$y; $i++} .... {/for} +{for $x=0, $y=count($foo); $x<$y; $x++} .... {/for} Any number of statements can be used separated by comma as the first inital expression at {for}. diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 09c8fe4f..a85cc37a 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -662,7 +662,6 @@ class Smarty extends Smarty_Internal_Data { * @param string $name property name */ public function __get($name) { -echo "inside get\n"; if(in_array($name, array('register', 'unregister', 'utility', 'cache'))) { $class = "Smarty_Internal_" . ucfirst($name); $this->$name = new $class($this);