aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');
}
/**