diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-19 11:45:38 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-11-19 11:45:38 +0000 |
commit | 961e31c8833220e85b5c73651576642101a94b15 (patch) | |
tree | afdfeedf3c2daece0d20fd7e78c71a88bc2bd1a6 /mod/uservalidationbyemail/actions/resend_validation.php | |
parent | 4dc9076224a0d93f0dc078124aa9fb94a669f16c (diff) | |
download | elgg-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.php | 5 |
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; } |