mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 17:40:26 +01:00
Merge branch 'MDL-72085-master' of https://github.com/dmitriim/moodle
This commit is contained in:
commit
d25917e4fd
@ -203,6 +203,9 @@ class phpunit_util extends testing_util {
|
||||
$ME = null;
|
||||
$SCRIPT = null;
|
||||
$FILTERLIB_PRIVATE = null;
|
||||
if (!empty($SESSION->notifications)) {
|
||||
$SESSION->notifications = [];
|
||||
}
|
||||
|
||||
// Empty sessison and set fresh new not-logged-in user.
|
||||
\core\session\manager::init_empty_session();
|
||||
|
Loading…
x
Reference in New Issue
Block a user