mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
Merge branch 'MDL-80985-add-purge-course-caches-option-main' of https://github.com/jwcatau/moodle
This commit is contained in:
commit
5c16854483
4 changed files with 204 additions and 1 deletions
|
@ -31,6 +31,7 @@ require_once($CFG->libdir.'/clilib.php');
|
|||
$longoptions = [
|
||||
'help' => false,
|
||||
'muc' => false,
|
||||
'courses' => false,
|
||||
'theme' => false,
|
||||
'lang' => false,
|
||||
'js' => false,
|
||||
|
@ -55,6 +56,8 @@ all caches will be purged.
|
|||
Options:
|
||||
-h, --help Print out this help
|
||||
--muc Purge all MUC caches (includes lang cache)
|
||||
--courses Purge all course caches (or only those specified by a comma-separated list).
|
||||
e.g. --courses=4,67,145
|
||||
--theme Purge theme cache
|
||||
--lang Purge language string cache
|
||||
--js Purge JavaScript cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue