diff options
author | alecpl <alec@alec.pl> | 2011-12-07 11:39:36 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-07 11:39:36 +0000 |
commit | a90ad2840f5a10576caf0219036ae26ed1090dcc (patch) | |
tree | cbe11643ece20d0ea1f3ac5f97c14c0c829ce757 /program/steps/mail/sendmail.inc | |
parent | b6da0b76afb5697685c35b8584631294cfc7b12f (diff) |
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index e4e5093b1..9d4d42562 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -72,9 +72,9 @@ function rcmail_encrypt_header($what) // get identity record function rcmail_get_identity($id) { - global $USER, $OUTPUT; + global $RCMAIL, $OUTPUT; - if ($sql_arr = $USER->get_identity($id)) { + if ($sql_arr = $RCMAIL->user->get_identity($id)) { $out = $sql_arr; $out['mailto'] = $sql_arr['email']; $out['string'] = format_email_recipient($sql_arr['email'], |