Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-02-14 02:48:05 +0400
committerBart Visscher <bartv@thisnet.nl>2012-02-14 02:48:05 +0400
commit525306c1e2930c6b378b0a4e9fb92eeb90865b0a (patch)
tree790f22f18cc999de67fbcaa8de691c843898730e /lib/response.php
parent29fc82c364e2e90330d9858528e50d785e5e66bd (diff)
Replace Expires and caching headers by OC_Response functions
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'];