summaryrefslogtreecommitdiff
path: root/libs/sysplugins/smarty_internal_compile_assign.php
diff options
context:
space:
mode:
authoruwetews <uwe.tews@googlemail.com>2016-01-02 02:47:32 +0100
committeruwetews <uwe.tews@googlemail.com>2016-01-02 02:47:32 +0100
commit59343127f781446eb0e86001178fc3f8d87f66e6 (patch)
tree499f71ec837ddce94cca5a0725a604be8ccdc5cd /libs/sysplugins/smarty_internal_compile_assign.php
parentbdf9f41da85f6fbe4dffb9f510ddd65454540a97 (diff)
downloadsmarty-59343127f781446eb0e86001178fc3f8d87f66e6.tar.gz
smarty-59343127f781446eb0e86001178fc3f8d87f66e6.tar.bz2
smarty-59343127f781446eb0e86001178fc3f8d87f66e6.zip
- update scope handling
Diffstat (limited to 'libs/sysplugins/smarty_internal_compile_assign.php')
-rw-r--r--libs/sysplugins/smarty_internal_compile_assign.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/sysplugins/smarty_internal_compile_assign.php b/libs/sysplugins/smarty_internal_compile_assign.php
index 3b2eb614..46f17733 100644
--- a/libs/sysplugins/smarty_internal_compile_assign.php
+++ b/libs/sysplugins/smarty_internal_compile_assign.php
@@ -22,7 +22,7 @@ class Smarty_Internal_Compile_Assign extends Smarty_Internal_CompileBase
* @var array
*/
public $valid_scopes = array('local' => true, 'parent' => true, 'root' => true, 'global' => true,
- 'smarty' => true, 'tpl_root' => true);
+ 'tpl_root' => true);
/**
* Compiles code for the {assign} tag
@@ -68,8 +68,6 @@ class Smarty_Internal_Compile_Assign extends Smarty_Internal_CompileBase
$_scope = Smarty::SCOPE_ROOT;
} elseif ($_attr[ 'scope' ] == 'global') {
$_scope = Smarty::SCOPE_GLOBAL;
- } elseif ($_attr[ 'scope' ] == 'smarty') {
- $_scope = Smarty::SCOPE_SMARTY;
} elseif ($_attr[ 'scope' ] == 'tpl_root') {
$_scope = Smarty::SCOPE_TPL_ROOT;
}