remove debug code

This commit is contained in:
monte.ohrt
2010-02-20 23:22:55 +00:00
parent 591df13a26
commit 7c9aed9299
2 changed files with 1 additions and 2 deletions

2
README
View File

@@ -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}.

View File

@@ -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);