summaryrefslogtreecommitdiff
path: root/program/steps/settings/func.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/settings/func.inc
parentb6da0b76afb5697685c35b8584631294cfc7b12f (diff)
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
Diffstat (limited to 'program/steps/settings/func.inc')
-rw-r--r--program/steps/settings/func.inc4
1 files changed, 2 insertions, 2 deletions
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']) .'>');