summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-05-14 19:26:34 +0000
committerthomascube <thomas@roundcube.net>2009-05-14 19:26:34 +0000
commitf879f4e2f8c81f67b0a0c471c94ebed686939c49 (patch)
tree579b1b9c06dfbe8ee23b66831db46dc6ff2fb145 /program/include/rcmail.php
parente54f6c7a9efa28633616064bea68a3d2b4468272 (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.php7
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(