protected function process_remove_submission($userid = 0) {
        require_sesskey();

        if (!$userid) {
            $userid = required_param('userid', PARAM_INT);
        }

        return $this->remove_submission($userid);
    }
protected function process_remove_submission($userid = 0) {
        require_sesskey();

        if (!$userid) {
            $userid = required_param('userid', PARAM_INT);
        }

        return $this->remove_submission($userid);
    }
protected function process_remove_submission ( $ userid = 0 ) { require_sesskey ( ) ; if ( ! $ userid ) { $ userid = required_param ( 'userid' , PARAM_INT ) ; } return $ this -> remove_submission ( $ userid ) ; }
Remove the current submission.

@param int $userid
@return boolean
Remove the current submission .