aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/actions/resend_validation.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 11:45:38 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-11-19 11:45:38 +0000
commit961e31c8833220e85b5c73651576642101a94b15 (patch)
treeafdfeedf3c2daece0d20fd7e78c71a88bc2bd1a6 /mod/uservalidationbyemail/actions/resend_validation.php
parent4dc9076224a0d93f0dc078124aa9fb94a669f16c (diff)
downloadelgg-961e31c8833220e85b5c73651576642101a94b15.tar.gz
elgg-961e31c8833220e85b5c73651576642101a94b15.tar.bz2
Closes #617 core has get and set functions for user validation status
git-svn-id: http://code.elgg.org/elgg/trunk@7344 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/uservalidationbyemail/actions/resend_validation.php')
-rw-r--r--mod/uservalidationbyemail/actions/resend_validation.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/uservalidationbyemail/actions/resend_validation.php b/mod/uservalidationbyemail/actions/resend_validation.php
index 70c2244b9..59a69b0f6 100644
--- a/mod/uservalidationbyemail/actions/resend_validation.php
+++ b/mod/uservalidationbyemail/actions/resend_validation.php
@@ -25,9 +25,8 @@ foreach ($user_guids as $guid) {
}
// don't resend emails to validated users
- $is_validated = uservalidationbyemail_get_user_validation_status($guid);
-
- if ($is_validated || !uservalidationbyemail_request_validation($guid)) {
+ $is_validated = elgg_get_user_validation_status($guid);
+ if ($is_validated !== FALSE || !uservalidationbyemail_request_validation($guid)) {
$error = TRUE;
continue;
}