Merge branch 'MDL-87339-501' of https://github.com/paulholden/moodle into MOODLE_501_STABLE

This commit is contained in:
Huong Nguyen
2025-12-03 12:14:52 +07:00
+1 -3
View File
@@ -678,9 +678,7 @@ final class manager implements
* @return string
*/
protected function get_cache_path(): string {
global $CFG;
return $CFG->localcachedir . '/hookcallbacks.json';
return make_localcache_directory('') . '/hookcallbacks.json';
}
/**