Deal with commented-out code in ZipWriter
authorMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:46:51 +0000 (18:46 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 27 Oct 2021 16:46:51 +0000 (18:46 +0200)
Closes #4391

wcfsetup/install/files/lib/system/io/ZipWriter.class.php

index 04db323929f6e6968fa8743a296cc87276a416ae..73e2615a56e2e581a1d2bdcf6b9590353353cf7a 100644 (file)
@@ -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;