summaryrefslogtreecommitdiff
path: root/program/include/rcube_user.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-07-30 06:34:02 +0000
committeralecpl <alec@alec.pl>2010-07-30 06:34:02 +0000
commite6ce0062f2331b8756cc91944ceaea8d7cbffd18 (patch)
tree1005f3248c2dc0eb12a7587c19c2bf5181ac7fc8 /program/include/rcube_user.php
parentee09d464a86a75958e1b61f230e0f0294e929a7e (diff)
- Unify hooks names, see rcube_plugin_api::deprecated_hooks for complete list (old names are supported without errors nor warnings)
Diffstat (limited to 'program/include/rcube_user.php')
-rw-r--r--program/include/rcube_user.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php
index b1263ca02..22ec38d2e 100644
--- a/program/include/rcube_user.php
+++ b/program/include/rcube_user.php
@@ -385,7 +385,7 @@ class rcube_user
$user_email = is_array($email_list[0]) ? $email_list[0]['email'] : $email_list[0];
}
- $data = $rcmail->plugins->exec_hook('create_user',
+ $data = $rcmail->plugins->exec_hook('user_create',
array('user'=>$user, 'user_name'=>$user_name, 'user_email'=>$user_email));
// plugin aborted this operation
@@ -444,7 +444,7 @@ class rcube_user
$record['user_id'] = $user_id;
$record['standard'] = $standard;
- $plugin = $rcmail->plugins->exec_hook('create_identity',
+ $plugin = $rcmail->plugins->exec_hook('identity_create',
array('login' => true, 'record' => $record));
if (!$plugin['abort'] && $plugin['record']['email']) {