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

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2011-08-04 16:36:01 +0400
committerMichal Čihař <mcihar@suse.cz>2011-08-04 16:36:01 +0400
commit6196970dc26de011646a581044dbf05d95400c67 (patch)
tree05e43ef425a7e5bb981d26c2f222317920fc0386 /import_status.php
parent2283b016bb597ab70e557ae0f2ac18c64b473faa (diff)
Use new function for no cache headers
Diffstat (limited to 'import_status.php')
-rw-r--r--import_status.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/import_status.php b/import_status.php
index 7c77e31f86..75a336104f 100644
--- a/import_status.php
+++ b/import_status.php
@@ -9,8 +9,7 @@ require_once './libraries/common.inc.php';
require_once './libraries/display_import_ajax.lib.php';
// AJAX requests can't be cached!
-header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
-header("Expires: Sat, 11 Jan 1991 06:30:00 GMT"); // Date in the past
+PMA_no_cache_header();
// $GLOBALS["message"] is used for asking for an import message
if (isset($GLOBALS["message"]) && $GLOBALS["message"]) {