diff options
author | thomascube <thomas@roundcube.net> | 2009-05-14 19:26:34 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2009-05-14 19:26:34 +0000 |
commit | f879f4e2f8c81f67b0a0c471c94ebed686939c49 (patch) | |
tree | 579b1b9c06dfbe8ee23b66831db46dc6ff2fb145 /program/include/rcmail.php | |
parent | e54f6c7a9efa28633616064bea68a3d2b4468272 (diff) |
Trigger 'create_identity' when creating a new user; Allow 'create_user' hook to abort the operation
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 6ed095062..06f50a13f 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -491,6 +491,13 @@ class rcmail // get existing mailboxes (but why?) // $a_mailboxes = $this->imap->list_mailboxes(); } + else { + raise_error(array( + 'code' => 600, + 'type' => 'php', + 'message' => "Failed to create a user record. Maybe aborted by a plugin?" + ), true, false); + } } else { raise_error(array( |