function bootstrap_tour_cleanup in Bootstrap Tour 7.2
Remove tour cookies from session
1 call to bootstrap_tour_cleanup()
- bootstrap_tour_run_tour in ./
bootstrap_tour.module - Helper function to actually run a tour. Can be called from anywhere.
File
- ./
bootstrap_tour.module, line 167 - bootstrap_tour.module
Code
function bootstrap_tour_cleanup() {
if (isset($_SESSION['tour'])) {
unset($_SESSION['tour']);
}
if (isset($_SESSION['nexttour'])) {
unset($_SESSION['nexttour']);
}
}