summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorMartin Doucha <next_ghost@quick.cz>2012-07-06 14:02:10 +0200
committerMartin Doucha <next_ghost@quick.cz>2012-07-06 14:02:10 +0200
commit27849ebfc6b61fbb42ec6deb9c99ff548c40b4ac (patch)
tree5c231dfd7978a65522f56fd3be29bfe9679a64a7 /inc/cache.php
parent3fb0e07d018fc6c8d173bd4a8a58c77ba00290fb (diff)
parent4ba05e11e88dd654689b0f6333b1427e03d1b0fe (diff)
downloadrpg-27849ebfc6b61fbb42ec6deb9c99ff548c40b4ac.tar.gz
rpg-27849ebfc6b61fbb42ec6deb9c99ff548c40b4ac.tar.bz2
Merge branch 'master' of git://github.com/splitbrain/dokuwiki
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cache.php b/inc/cache.php
index e598baa47..e0d08c971 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -84,7 +84,8 @@ class cache {
* it should only overwrite a dependency when the new value is more stringent than the old
*/
function _addDependencies() {
- if (isset($_REQUEST['purge'])) $this->depends['purge'] = true; // purge requested
+ global $INPUT;
+ if ($INPUT->has('purge')) $this->depends['purge'] = true; // purge requested
}
/**