Skip to content

Commit 173f062

Browse files
Merge pull request #162 from catalyst/issue157-MDL311
Fix error with scramble users module - MOODLE_311_STABLE #157
2 parents 3daf99f + f9961d9 commit 173f062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleaner/users/classes/clean.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static function create_user_id_list_to_update() {
6666

6767
echo "Fetching users to update...\n";
6868

69-
$criteria = self::get_user_criteria(static::$options);
69+
$criteria = self::get_user_criteria(get_config('cleaner_users'));
7070
list($where, $whereparams) = self::get_user_where_sql($criteria);
7171

7272
$ids = $DB->get_records_select('user', 'id > 2 '.$where, $whereparams, 'id', 'id');

0 commit comments

Comments
 (0)