diff --git a/lib/dmllib.php b/lib/dmllib.php index 15c4d91fc7b..7a42dbd987a 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -2397,7 +2397,7 @@ function rcache_unset_table ($table) { if (isset($MCACHE)) { // at least as long as content keys to ensure they expire // before the dirty flag - $MCACHE->set($tablekey, true, $CFG->rcachettl); + $MCACHE->set($table, true, $CFG->rcachettl); } return true; }