diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-10 08:16:41 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-04-10 08:16:41 +0000 |
| commit | bce4774ce47a70423ddade948b930ef7feed75b8 (patch) | |
| tree | 7c20be315ae801b6f9aa1961cb9ca493636aca31 /roundcubemail/program/steps/settings/func.inc | |
| parent | f1408450f456b4f1bcb89c480106012f11e01607 (diff) | |
- clean up, use simpler _get_email() replacement
git-svn-id: https://svn.roundcube.net/trunk@2383 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/settings/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/settings/func.inc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/roundcubemail/program/steps/settings/func.inc b/roundcubemail/program/steps/settings/func.inc index d0a3ae69c..3f0357717 100644 --- a/roundcubemail/program/steps/settings/func.inc +++ b/roundcubemail/program/steps/settings/func.inc @@ -469,24 +469,6 @@ function rcmail_get_skins() } -function rcmail_get_email() - { - global $RCMAIL; - - if (strpos($RCMAIL->user->data['username'], '@')) - return $RCMAIL->user->data['username']; - else { - if ($RCMAIL->config->get('virtuser_file')) - $user_email = rcube_user::user2email($RCMAIL->user->data['username']); - - if ($user_email == '') - $user_email = sprintf('%s@%s', $RCMAIL->user->data['username'], - $RCMAIL->config->mail_domain($_SESSION['imap_host'])); - - return $user_email; - } - } - // register UI objects $OUTPUT->add_handlers(array( 'userprefs' => 'rcmail_user_prefs_form', @@ -494,5 +476,4 @@ $OUTPUT->add_handlers(array( 'itentitieslist' => 'rcmail_identities_list' // keep this for backward compatibility )); - ?> |
