From 0342f9fe9d88741b1cfc69e0e48b01eea5b67657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 9 Jul 2013 22:22:09 +0200 Subject: [PATCH] Fix compatibility with newest WCF See WoltLab/WCF@647d23267694b69050816c1c438f3b2768ef6bcc --- file/lib/page/NewMessagesPage.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/file/lib/page/NewMessagesPage.class.php b/file/lib/page/NewMessagesPage.class.php index 1ebe4ca..f09fb6c 100644 --- a/file/lib/page/NewMessagesPage.class.php +++ b/file/lib/page/NewMessagesPage.class.php @@ -106,10 +106,7 @@ public function show() { parent::show(); @header('Content-type: application/json'); - // enable gzip compression - if (HTTP_ENABLE_GZIP && HTTP_GZIP_LEVEL > 0 && HTTP_GZIP_LEVEL < 10 && !defined('HTTP_DISABLE_GZIP')) { - \wcf\util\HeaderUtil::compressOutput(); - } + \wcf\util\HeaderUtil::sendNoCacheHeaders(); $json = array('users' => array(), 'messages' => array());