ZipArchive::close deletes file if empty (#1628)

This commit is contained in:
Remi Collet 2022-06-15 15:50:03 +02:00 committed by GitHub
parent b08895614b
commit d6ac0dd312
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,10 @@
Close opened or created archive and save changes. This method is
automatically called at the end of the script.
</para>
<para>
If the archive contains no files, the file is completely removed
(no empty archive is written).
</para>
</refsect1>
<refsect1 role="parameters">