summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
authorTom N Harris <tnharris@whoopdedo.org>2012-06-27 02:48:49 -0400
committerTom N Harris <tnharris@whoopdedo.org>2012-06-27 02:48:49 -0400
commit7d01a0eac854c623a74ff7936d5eba9413aefe79 (patch)
treedc4484d0c4ad67e81f3321c3cd30b773d726cd0a /inc/cache.php
parent90f1b7bd60332450b32e4ec0b189ddb0ab11fdf8 (diff)
downloadrpg-7d01a0eac854c623a74ff7936d5eba9413aefe79.tar.gz
rpg-7d01a0eac854c623a74ff7936d5eba9413aefe79.tar.bz2
more INPUT wrapper uses: cache purge, sectok, getID
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 ff78e37ae..204c6f006 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
}
/**