From b68a266a734193dfeee8d9f52b9888b2798eb50c Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Apr 2013 14:06:20 +0400 Subject: remove no_cache_incantation() --- include/functions.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 4ac4e0968..31a4c1f2d 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2929,15 +2929,6 @@ exit; } - // from http://developer.apple.com/internet/safari/faq.html - function no_cache_incantation() { - header("Expires: Mon, 22 Dec 1980 00:00:00 GMT"); // Happy birthday to me :) - header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified - header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); // HTTP/1.1 - header("Cache-Control: post-check=0, pre-check=0", false); - header("Pragma: no-cache"); // HTTP/1.0 - } - function format_warning($msg, $id = "") { global $link; return "
-- cgit v1.2.3