alecpl
2010-01-18 638fb8a9729589363d53f6b73e0b1404c0eb7e22
program/include/rcube_user.php
@@ -16,7 +16,7 @@
 | Author: Thomas Bruederli <roundcube@gmail.com>                        |
 +-----------------------------------------------------------------------+
 $Id: rcube_user.inc 933 2007-11-29 14:17:32Z thomasb $
 $Id$
*/
@@ -360,9 +360,8 @@
    $rcmail = rcmail::get_instance();
    // try to resolve user in virtuser table and file
    if (!strpos($user, '@')) {
      if ($email_list = self::user2email($user, false, true))
        $user_email = is_array($email_list[0]) ? $email_list[0][0] : $email_list[0];
    if ($email_list = self::user2email($user, false, true)) {
      $user_email = is_array($email_list[0]) ? $email_list[0][0] : $email_list[0];
    }
    $data = $rcmail->plugins->exec_hook('create_user',