aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/uservalidationbyemail/views/default/admin/users/unvalidated.php')
-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) {