summaryrefslogtreecommitdiff
path: root/plugins/password/drivers/virtualmin.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-07 11:54:37 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-07 11:54:37 +0200
commitee2187e1b151c27fbf2b6854634fc4fd90f0ebd1 (patch)
treefd7f5c2c52288e6c31295fc17f2353d45eea0c79 /plugins/password/drivers/virtualmin.php
parent887838da08c56265145400a4513a51c7cc79ec5b (diff)
Fix errors after removing users.alias column (#1488581)
Diffstat (limited to 'plugins/password/drivers/virtualmin.php')
-rw-r--r--plugins/password/drivers/virtualmin.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/password/drivers/virtualmin.php b/plugins/password/drivers/virtualmin.php
index f6b9bd412..b2547e07f 100644
--- a/plugins/password/drivers/virtualmin.php
+++ b/plugins/password/drivers/virtualmin.php
@@ -48,10 +48,6 @@ class rcube_virtualmin_password
$pieces = explode("_", $username);
$domain = $pieces[0];
break;
- case 8: // domain taken from alias, username left as it was
- $email = $rcmail->user->data['alias'];
- $domain = substr(strrchr($email, "@"), 1);
- break
default: // username@domain
$domain = substr(strrchr($username, "@"), 1);
}