From cb529a09bd803ae98b5a2fd9baed5a55332252af Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Mon, 28 Jun 2010 19:08:58 +0000
Subject: [PATCH] Removed deprecated code.

---
 inc/functions.php | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/inc/functions.php b/inc/functions.php
index 107542e91f..837184d15f 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -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());
 
-- 
2.39.5