aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-04 18:58:32 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-12-04 18:58:32 +0000
commitf22f70eaabf60605a2664db0d9fcc70a16d314b6 (patch)
tree5a5d64bb893b8cfead1af535331e2996dd962535
parenta7189c65575becfeb03eed05972a45eeef96ccc5 (diff)
downloadelgg-f22f70eaabf60605a2664db0d9fcc70a16d314b6.tar.gz
elgg-f22f70eaabf60605a2664db0d9fcc70a16d314b6.tar.bz2
Closes #609
git-svn-id: https://code.elgg.org/elgg/trunk@2503 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/users.php2
-rw-r--r--mod/uservalidationbyemail/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 8c1b9253f..aba76cec0 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -945,7 +945,7 @@
set_user_validation_status($user_guid, false);
// request validation
- trigger_elgg_event('user', 'validate', $user);
+ trigger_elgg_event('validate', 'user', $user);
}
}
diff --git a/mod/uservalidationbyemail/start.php b/mod/uservalidationbyemail/start.php
index 17057d249..f44116c58 100644
--- a/mod/uservalidationbyemail/start.php
+++ b/mod/uservalidationbyemail/start.php
@@ -18,7 +18,7 @@
register_action("email/confirm",true, $CONFIG->pluginspath . "uservalidationbyemail/actions/email/confirm.php");
// Register hook listening to new users.
- register_elgg_event_handler('user', 'validate', 'uservalidationbyemail_email_validation');
+ register_elgg_event_handler('validate', 'user', 'uservalidationbyemail_email_validation');
}
/**