Merge branch 'MDL-87339-501' of https://github.com/paulholden/moodle into MOODLE_501_STABLE
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user