aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-11-14 00:51:15 +0000
committerrvelices <rv-github@modusoptimus.com>2006-11-14 00:51:15 +0000
commit998385c48d403c5a88bf06d7f36ec27d26a0b82c (patch)
tree92db05c29caa905ae46b947e8a66fea8bd8de07e /include/functions_user.inc.php
parent724671b669d5a0e5a2ffb684ffd4534584c52113 (diff)
plugins: added actions for register_user, delete_categories, delete_elements
and delete_user git-svn-id: http://piwigo.org/svn/trunk@1605 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 3cdae176e..6cf5de9a7 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -125,6 +125,14 @@ SELECT id
}
create_user_infos($next_id);
+
+ trigger_action('register_user',
+ array(
+ 'id'=>$next_id,
+ 'username'=>$login,
+ 'email'=>$mail_address,
+ )
+ );
}
return $errors;