From a90ad2840f5a10576caf0219036ae26ed1090dcc Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 7 Dec 2011 11:39:36 +0000 Subject: - Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead --- program/steps/settings/func.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/steps/settings/func.inc') diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc index 65836a958..ac55acb3a 100644 --- a/program/steps/settings/func.inc +++ b/program/steps/settings/func.inc @@ -63,14 +63,14 @@ function rcmail_sections_list($attrib) function rcmail_identities_list($attrib) { - global $OUTPUT, $USER, $RCMAIL; + global $OUTPUT, $RCMAIL; // add id to message list table if not specified if (!strlen($attrib['id'])) $attrib['id'] = 'rcmIdentitiesList'; // get identities list and define 'mail' column - $list = $USER->list_identities(); + $list = $RCMAIL->user->list_identities(); foreach ($list as $idx => $row) $list[$idx]['mail'] = trim($row['name'] . ' <' . rcube_idn_to_utf8($row['email']) .'>'); -- cgit v1.2.3