aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/views/default/admin
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 03:09:08 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 03:09:08 +0000
commitf1c75074c96f8c8f144bc132f75443dd8502c440 (patch)
tree4b625934fa5b541160e53f631ba034c023502bd3 /mod/uservalidationbyemail/views/default/admin
parent86cdf25271e1cc516a370a91a93e62ed94c6e56f (diff)
downloadelgg-f1c75074c96f8c8f144bc132f75443dd8502c440.tar.gz
elgg-f1c75074c96f8c8f144bc132f75443dd8502c440.tar.bz2
Using more built-in API to get unvalidated users.
git-svn-id: http://code.elgg.org/elgg/trunk@7009 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/uservalidationbyemail/views/default/admin')
-rw-r--r--mod/uservalidationbyemail/views/default/admin/users/unvalidated.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
index 4a14482df..bfd4a8d2e 100644
--- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
+++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
@@ -7,7 +7,12 @@
*/
// @todo pagination would be nice.
-$users = uservalidationbyemail_get_unvalidated_users();
+// can't use elgg_list_entities() and friends because we don't use the default view for users.
+$users = elgg_get_entities(array(
+ 'type' => 'user',
+ 'wheres' => array(uservalidationbyemail_get_unvalidated_users_sql_where()),
+ 'limit' => 9999,
+));
if ($users) {
foreach ($users as $user) {