Removed deprecated code.
authorRoland Häder <roland@mxchange.org>
Mon, 28 Jun 2010 19:08:58 +0000 (19:08 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 28 Jun 2010 19:08:58 +0000 (19:08 +0000)
inc/functions.php

index 107542e91f55811176def121dbff5a08e4c21e8f..837184d15f9cd8667bebb481c4d34c3d9bd7cdd2 100644 (file)
@@ -469,13 +469,6 @@ function loadEmailTemplate ($template, $content = array(), $userid = '0') {
                //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, "content()=".count($content)." - AFTER<br />");
        } // END - if
 
-       // Overwrite email from data if present
-       if (isset($content['email'])) $email = $content['email'];
-
-       // Store email for some functions in global $DATA array
-       // @TODO Do only use $content, not $DATA or raw variables
-       $DATA['email'] = $email;
-
        // Base directory
        $basePath = sprintf("%stemplates/%s/emails/", getConfig('PATH'), getLanguage());