function bootstrap_tour_end_current_tour in Bootstrap Tour 7.2
Same name and namespace in other branches
- 7 bootstrap_tour.module \bootstrap_tour_end_current_tour()
Helper function to end the current tour.
1 string reference to 'bootstrap_tour_end_current_tour'
- bootstrap_tour_menu in ./
bootstrap_tour.module - Implements hook_menu().
File
- ./
bootstrap_tour.module, line 332 - bootstrap_tour.module
Code
function bootstrap_tour_end_current_tour() {
if (isset($_SESSION['tour'])) {
unset($_SESSION['tour']);
}
}