Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d4d1b04
)
MDL-23391 rss cache is now inside the dataroot/cache with the others, so it doesn...
author
Martin Dougiamas
<martin@moodle.com>
Tue, 20 Jul 2010 08:28:00 +0000
(08:28 +0000)
committer
Martin Dougiamas
<martin@moodle.com>
Tue, 20 Jul 2010 08:28:00 +0000
(08:28 +0000)
lib/moodlelib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/moodlelib.php
b/lib/moodlelib.php
index
daf9497
..
bfffe98
100644
(file)
--- a/
lib/moodlelib.php
+++ b/
lib/moodlelib.php
@@
-1073,14
+1073,12
@@
function get_users_from_config($value, $capability, $includeadmins = true) {
function purge_all_caches() {
global $CFG;
- remove_dir("$CFG->dataroot/rss", true);
-
reset_text_filters_cache();
js_reset_all_caches();
theme_reset_all_caches();
get_string_manager()->reset_caches();
- // purge all other caches: simplepie, etc.
+ // purge all other caches:
rss,
simplepie, etc.
remove_dir($CFG->dataroot.'/cache', true);
// some more diagnostics in case site is misconfigured