summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-07 11:39:36 +0000
committeralecpl <alec@alec.pl>2011-12-07 11:39:36 +0000
commita90ad2840f5a10576caf0219036ae26ed1090dcc (patch)
treecbe11643ece20d0ea1f3ac5f97c14c0c829ce757 /program/steps/mail/compose.inc
parentb6da0b76afb5697685c35b8584631294cfc7b12f (diff)
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index c3863e448..08503227c 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -245,7 +245,7 @@ if (!empty($msg_uid))
$MESSAGE->compose = array();
// get user's identities
-$MESSAGE->identities = $USER->list_identities();
+$MESSAGE->identities = $RCMAIL->user->list_identities();
if (count($MESSAGE->identities))
{
foreach ($MESSAGE->identities as $idx => $ident) {