original_string: protected function empty_queue(int $userid, int $timemodified) : void {
          global $DB;
  
          $DB->delete_records_select('forum_queue', "userid = :userid AND timemodified < :timemodified", [
                  'userid' => $userid,
                  'timemodified' => $timemodified,
              ]);
      }
code: protected function empty_queue(int $userid, int $timemodified) : void {
          global $DB;
  
          $DB->delete_records_select('forum_queue', "userid = :userid AND timemodified < :timemodified", [
                  'userid' => $userid,
                  'timemodified' => $timemodified,
              ]);
      }
code_tokens: protected function empty_queue ( int $ userid , int $ timemodified ) : void { global $ DB ; $ DB -> delete_records_select ( 'forum_queue' , "userid = :userid AND timemodified < :timemodified" , [ 'userid' => $ userid , 'timemodified' => $ timemodified , ] ) ; }
docstring: Empty the queue of posts for this user.
  
  @param int $userid user id which queue elements are going to be removed.
  @param int $timemodified up time limit of the queue elements to be removed.
docstring_tokens: Empty the queue of posts for this user .