diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 5b2505383e6..045d601c9c4 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -192,8 +192,6 @@ function forum_delete_instance($id) { function forum_cron() { global $CFG, $USER; - $CFG->enablerecordcache = true; // We want all the caching we can get - $cronuser = clone($USER); $site = get_site();