From 376edf979673408013c8dadcd4453654eb02e13c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 27 Oct 2021 18:46:51 +0200 Subject: [PATCH] Deal with commented-out code in ZipWriter Closes #4391 --- wcfsetup/install/files/lib/system/io/ZipWriter.class.php | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.20.1