X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=class%2Ftemplate%2Ftemplate.class.php;h=238b8ac1aead520e3b5b11d785d1f919057df3ee;hp=238d0d1379ae8f05881985de5f44c0170f26d564;hb=7aae649daa9b008561069d9f9d1911cc7343717c;hpb=f2e129237014bc6a796cee2085aaeb62b778d04b diff --git a/class/template/template.class.php b/class/template/template.class.php index 238d0d13..238b8ac1 100755 --- a/class/template/template.class.php +++ b/class/template/template.class.php @@ -203,17 +203,6 @@ class Template */ function display($file) { - /** - * We want to make sure that certain variables are always passed to the - * templates b/c they are critical to certain template functions. - */ - $always_include = array('icon_theme_path', 'sTplDir'); - foreach ($always_include as $var) { - if (!isset($this->values[$var]) && isset($GLOBALS[$var])) { - $this->assign($var, $GLOBALS[$var]); - } - } - // Pull in our config file $t = &$this->values; // place values array directly in scope