protected function delete_tour($tourid) {
        require_sesskey();

        $tour = tour::instance($tourid);
        $tour->remove();

        redirect(helper::get_list_tour_link());
    }
protected function delete_tour($tourid) {
        require_sesskey();

        $tour = tour::instance($tourid);
        $tour->remove();

        redirect(helper::get_list_tour_link());
    }
protected function delete_tour ( $ tourid ) { require_sesskey ( ) ; $ tour = tour :: instance ( $ tourid ) ; $ tour -> remove ( ) ; redirect ( helper :: get_list_tour_link ( ) ) ; }
Delete the tour.

@param   int         $tourid     The ID of the tour to remove.
Delete the tour .