MDL-64591 User tours: don't show during redirects & other bad times

This commit is contained in:
Tim Hunt 2019-01-18 15:58:11 +00:00
parent f5dde8d05e
commit 591a7952c2

View file

@ -497,6 +497,12 @@ class helper {
return;
}
if (in_array($PAGE->pagelayout, ['maintenance', 'print', 'redirect'])) {
// Do not try to show user tours inside iframe, in maintenance mode,
// when printing, or during redirects.
return;
}
if (self::$bootstrapped) {
return;
}