Remove call to deprecated HeaderUtil::exceptionDisableGzip();
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 19 Jan 2021 09:32:59 +0000 (10:32 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 19 Jan 2021 09:34:42 +0000 (10:34 +0100)
This method is a no-op.

see 91b46ad444a1c0d90ae0c309b1386fbd5919f30b
see #3634
see #3881

wcfsetup/install/files/lib/system/email/Email.class.php

index d2a3f974e885b2689fefeab4c3e64783c4af3b56..ebfc1845b6794cd951eab14166529fc0fe420012 100644 (file)
@@ -699,7 +699,6 @@ class Email {
                        // must treat the content as if the header did not appear in first place, this
                        // also overrules the gzip header if present
                        @header('Content-Encoding: identity');
-                       HeaderUtil::exceptionDisableGzip();
                }
                
                $dumpBody = function ($body, $depth) use (&$dumpBody) {