From: Marcel Werk Date: Wed, 27 Oct 2021 16:46:51 +0000 (+0200) Subject: Deal with commented-out code in ZipWriter X-Git-Tag: 5.5.0_Alpha_1~344 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=376edf979673408013c8dadcd4453654eb02e13c;p=GitHub%2FWoltLab%2FWCF.git Deal with commented-out code in ZipWriter Closes #4391 --- diff --git a/wcfsetup/install/files/lib/system/io/ZipWriter.class.php b/wcfsetup/install/files/lib/system/io/ZipWriter.class.php index 04db323929..73e2615a56 100644 --- a/wcfsetup/install/files/lib/system/io/ZipWriter.class.php +++ b/wcfsetup/install/files/lib/system/io/ZipWriter.class.php @@ -64,7 +64,6 @@ class ZipWriter $record = "\x50\x4b\x01\x02"; $record .= "\x00\x00\x0a\x00"; $record .= "\x00\x00\x00\x00"; - //$record .= "\x00\x00\x00\x00"; $record .= static::getDosDatetime($date); $record .= \pack("V", 0); $record .= \pack("V", 0); @@ -74,8 +73,6 @@ class ZipWriter $record .= \pack("v", 0); $record .= \pack("v", 0); $record .= \pack("v", 0); - //$ext = "\x00\x00\x10\x00"; - //$ext = "\xff\xff\xff\xff"; $record .= \pack("V", 16); $record .= \pack("V", $this->lastOffset); $record .= $name;