Add <void/> instruction
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 1 Jul 2020 12:30:10 +0000 (14:30 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 1 Jul 2020 12:30:10 +0000 (14:30 +0200)
commit47584380bf69baf1c1fc48ccd913f3f73c820edc
tree6b27076cd60a6bdcfa152cf888abf77c254f0ae6
parentad213e9a6fa6b0d3ad216015cd165bb0f64ae268
Add <void/> instruction

The <void/> instruction may only be used during updates and only when no
other package installation plugin is used. It will result in a noop
when running the upgrade, allowing an upgrade to adjust package metadata
without actually changing anything.

Example usage:

<instructions type="update" fromversion="*">
<void/>
</instructions>

Resolves #3411
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php
wcfsetup/install/files/lib/system/package/validation/PackageValidationException.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml