Enabled compatibility with current Moodle Version - functions: core_role_existing_role_holders and core_role_get_potential_user_selector