public static function get_userids_from_context(\core_privacy\local\request\userlist $userlist) {
        $context = $userlist->get_context();
        if ($context->contextlevel != CONTEXT_MODULE) {
            return;
        }
        comments_provider::get_users_in_context_from_sql($userlist, 'c', 'assignsubmission_comments', 'submission_comments',
                $context->id);
    }
public static function get_userids_from_context(\core_privacy\local\request\userlist $userlist) {
        $context = $userlist->get_context();
        if ($context->contextlevel != CONTEXT_MODULE) {
            return;
        }
        comments_provider::get_users_in_context_from_sql($userlist, 'c', 'assignsubmission_comments', 'submission_comments',
                $context->id);
    }
public static function get_userids_from_context ( \ core_privacy \ local \ request \ userlist $ userlist ) { $ context = $ userlist -> get_context ( ) ; if ( $ context -> contextlevel != CONTEXT_MODULE ) { return ; } comments_provider :: get_users_in_context_from_sql ( $ userlist , 'c' , 'assignsubmission_comments' , 'submission_comments' , $ context -> id ) ; }
If you have tables that contain userids and you can generate entries in your tables without creating an
entry in the assign_submission table then please fill in this method.

@param  \core_privacy\local\request\userlist $userlist The userlist object
If you have tables that contain userids and you can generate entries in your tables without creating an entry in the assign_submission table then please fill in this method .