Removed $this->literalStack (not used anymore)
authorAlexander Ebert <ebert@woltlab.com>
Sun, 29 Dec 2013 11:22:18 +0000 (12:22 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 29 Dec 2013 11:22:18 +0000 (12:22 +0100)
Fixes #1633

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

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