Skip to content

Commit e3ac526

Browse files
Merge pull request #161 from catalyst/issue157-MDL310
Fix error with scramble users module - MOODLE_310_STABLE #157
2 parents d445472 + 9c980b6 commit e3ac526

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
@@ -61,7 +61,7 @@ private static function create_user_id_list_to_update() {
6161

6262
echo "Fetching users to update...\n";
6363

64-
$criteria = self::get_user_criteria(static::$options);
64+
$criteria = self::get_user_criteria(get_config('cleaner_users'));
6565
list($where, $whereparams) = self::get_user_where_sql($criteria);
6666

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

0 commit comments

Comments
 (0)