summaryrefslogtreecommitdiff
path: root/program/steps/settings/edit_identity.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/edit_identity.inc
parentb6da0b76afb5697685c35b8584631294cfc7b12f (diff)
- Deprecate $DB, $USER, $IMAP global variables, Use $RCMAIL instead
Diffstat (limited to 'program/steps/settings/edit_identity.inc')
-rw-r--r--program/steps/settings/edit_identity.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc
index a42e8d091..df5cf9328 100644
--- a/program/steps/settings/edit_identity.inc
+++ b/program/steps/settings/edit_identity.inc
@@ -23,7 +23,7 @@ define('IDENTITIES_LEVEL', intval($RCMAIL->config->get('identities_level', 0)));
// edit-identity
if (($_GET['_iid'] || $_POST['_iid']) && $RCMAIL->action=='edit-identity') {
- $IDENTITY_RECORD = $USER->get_identity(get_input_value('_iid', RCUBE_INPUT_GPC));
+ $IDENTITY_RECORD = $RCMAIL->user->get_identity(get_input_value('_iid', RCUBE_INPUT_GPC));
if (is_array($IDENTITY_RECORD))
$OUTPUT->set_env('iid', $IDENTITY_RECORD['identity_id']);