summaryrefslogtreecommitdiffstats
path: root/lib/response.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/response.php')
-rw-r--r--lib/response.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/response.php b/lib/response.php
index f47534aeefb..2fa0a5adcd3 100644
--- a/lib/response.php
+++ b/lib/response.php
@@ -30,6 +30,9 @@ class OC_Response {
}
}
+ static public function disableCaching() {
+ self::enableCaching(0);
+ }
static public function setStatus($status) {
$protocol = $_SERVER['SERVER_PROTOCOL'];