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/delete.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/delete.php')
-rw-r--r-- | mod/uservalidationbyemail/actions/delete.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/uservalidationbyemail/actions/delete.php b/mod/uservalidationbyemail/actions/delete.php index 14d40e89c..b076d3048 100644 --- a/mod/uservalidationbyemail/actions/delete.php +++ b/mod/uservalidationbyemail/actions/delete.php @@ -25,9 +25,8 @@ foreach ($user_guids as $guid) { } // don't delete validated users - $is_validated = uservalidationbyemail_get_user_validation_status($guid); - - if ($is_validated || !$user->delete()) { + $is_validated = elgg_get_user_validation_status($guid); + if ($is_validated !== FALSE || !$user->delete()) { $error = TRUE; continue; } |