Removes obsolete property references in TemplateScriptingCompiler
authorMatthias Schmidt <gravatronics@live.com>
Sun, 29 Dec 2013 11:28:27 +0000 (12:28 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 29 Dec 2013 11:28:27 +0000 (12:28 +0100)
Fixes #1633

wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index bf327436dcafc54a6d5515f6ec52cead18a450f6..5e3f2a4058003e89eabf4b4f3266c118ca40e9a8 100644 (file)
@@ -204,7 +204,6 @@ class TemplateScriptingCompiler {
                                'autoloadPlugins' => $this->autoloadPlugins,
                                'currentIdentifier' => $this->currentIdentifier,
                                'currentLineNo' => $this->currentLineNo,
-                               'stringStack' => $this->stringStack,
                                'tagStack' => $this->tagStack
                        );
                }
@@ -213,7 +212,7 @@ class TemplateScriptingCompiler {
                }
                
                // reset vars
-               $this->autoloadPlugins = $this->tagStack = $this->stringStack = array();
+               $this->autoloadPlugins = $this->tagStack = array();
                $this->currentIdentifier = $identifier;
                $this->currentLineNo = 1;
                
@@ -285,7 +284,6 @@ class TemplateScriptingCompiler {
                        $this->autoloadPlugins = $previousData['autoloadPlugins'];
                        $this->currentIdentifier = $previousData['currentIdentifier'];
                        $this->currentLineNo = $previousData['currentLineNo'];
-                       $this->stringStack = $previousData['stringStack'];
                        $this->tagStack = $previousData['tagStack'];
                }