original_string: protected function reset_tour_for_all($tourid) {
          require_sesskey();
  
          $tour = tour::instance($tourid);
          $tour->mark_major_change();
  
          redirect(helper::get_view_tour_link($tourid), get_string('tour_resetforall', 'tool_usertours'));
      }
code: protected function reset_tour_for_all($tourid) {
          require_sesskey();
  
          $tour = tour::instance($tourid);
          $tour->mark_major_change();
  
          redirect(helper::get_view_tour_link($tourid), get_string('tour_resetforall', 'tool_usertours'));
      }
code_tokens: protected function reset_tour_for_all ( $ tourid ) { require_sesskey ( ) ; $ tour = tour :: instance ( $ tourid ) ; $ tour -> mark_major_change ( ) ; redirect ( helper :: get_view_tour_link ( $ tourid ) , get_string ( 'tour_resetforall' , 'tool_usertours' ) ) ; }
docstring: Reset the tour state for all users.
  
  @param   int         $tourid     The ID of the tour to remove.
docstring_tokens: Reset the tour state for all users .