Code cleanup, more usage of API functions
[mailer.git] / inc / template-functions.php
index 8f1349c454df6a6b5093b3c363c55b87b4b2dfc0..4da8ef31b200524115d5b34bb1e23de321738988 100644 (file)
@@ -276,7 +276,6 @@ function loadTemplate ($template, $return = false, $content = array()) {
 
                // Init some data
                $ret = '';
-               if (empty($GLOBALS['refid'])) $GLOBALS['refid'] = '0';
 
                // Base directory
                $basePath = sprintf("%stemplates/%s/html/", getPath(), getLanguage());