From 525306c1e2930c6b378b0a4e9fb92eeb90865b0a Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Mon, 13 Feb 2012 23:48:05 +0100 Subject: Replace Expires and caching headers by OC_Response functions --- lib/response.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/response.php') 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']; -- cgit v1.2.3