Permalink
Browse files

MDL-29538 core_condition: clear the userid from the user field cache …

…when wiping the session
  • Loading branch information...
1 parent 129e4a7 commit 33f30deccea7aa39395663d7e3ca38b6aafb03ab @markn86 markn86 committed May 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/conditionlib.php
View
1 lib/conditionlib.php
@@ -1307,6 +1307,7 @@ static function wipe_session_cache() {
unset($SESSION->gradescorecache);
unset($SESSION->gradescorecacheuserid);
unset($SESSION->userfieldcache);
+ unset($SESSION->userfieldcacheuserid);
}
/**

0 comments on commit 33f30de

Please sign in to comment.