original_string: protected function delete_tour($tourid) {
          require_sesskey();
  
          $tour = tour::instance($tourid);
          $tour->remove();
  
          redirect(helper::get_list_tour_link());
      }
code: protected function delete_tour($tourid) {
          require_sesskey();
  
          $tour = tour::instance($tourid);
          $tour->remove();
  
          redirect(helper::get_list_tour_link());
      }
code_tokens: protected function delete_tour ( $ tourid ) { require_sesskey ( ) ; $ tour = tour :: instance ( $ tourid ) ; $ tour -> remove ( ) ; redirect ( helper :: get_list_tour_link ( ) ) ; }
docstring: Delete the tour.
  
  @param   int         $tourid     The ID of the tour to remove.
docstring_tokens: Delete the tour .