mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-67211 Tasks: Add cron_enabled setting.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
This commit is contained in:
parent
45875f6f7b
commit
d7342dc239
12 changed files with 193 additions and 9 deletions
|
@ -270,6 +270,16 @@ function theme_reset_all_caches() {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset static caches.
|
||||
*
|
||||
* This method indicates that all running cron processes should exit at the
|
||||
* next opportunity.
|
||||
*/
|
||||
function theme_reset_static_caches() {
|
||||
\core\task\manager::clear_static_caches();
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable or disable theme designer mode.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue