summaryrefslogtreecommitdiff
path: root/includes/functions/functions_mail.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-04 15:28:36 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-04 15:28:36 +0000
commit84f4988e5f562e5b5a96f532176742fb532f73f2 (patch)
treee8a3decef0bba77e49683c1d6f5d3edb63544713 /includes/functions/functions_mail.php
parent1746577e3bf2c8fbdeec1d8b9c3401c4580377ab (diff)
downloadwebtrees-84f4988e5f562e5b5a96f532176742fb532f73f2.tar.gz
webtrees-84f4988e5f562e5b5a96f532176742fb532f73f2.tar.bz2
webtrees-84f4988e5f562e5b5a96f532176742fb532f73f2.zip
Remove global WT_STORE_MESSAGES. Fetch this setting whenever it is used.
Diffstat (limited to 'includes/functions/functions_mail.php')
-rw-r--r--includes/functions/functions_mail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_mail.php b/includes/functions/functions_mail.php
index 6b7e3b23f2..3fa5202a5d 100644
--- a/includes/functions/functions_mail.php
+++ b/includes/functions/functions_mail.php
@@ -50,7 +50,7 @@ function webtreesMail($to, $from, $subject, $message) {
$SMTP_AUTH_USER=get_site_setting('SMTP_AUTH_USER');
$SMTP_AUTH_PASS=get_site_setting('SMTP_AUTH_PASS');
$SMTP_SSL =get_site_setting('SMTP_SSL');
- global $WT_STORE_MESSAGES, $TEXT_DIRECTION;
+ global $TEXT_DIRECTION;
$mailFormat = "plain";
//$mailFormat = "html";
//$mailFormat = "multipart";