Skip to content

Scramble user data not working as expected #157

@jwalits

Description

@jwalits

The keepusernames setting from the Scramble user data page is not being respected.

Culprit: https://github.com/catalyst/moodle-local_datacleaner/blob/master/cleaner/users/classes/clean.php#L64

The function get_user_criteria(); - https://github.com/catalyst/moodle-local_datacleaner/blob/master/classes/clean.php#L182 - expects the module config to be passed in, instead it is passing the list of cli options get_user_criteria(static::$options); thus never actually keeping the usernames as they are

I'll work on a patch to fix it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions