Fixes handling of requirements during package update
authorMatthias Schmidt <gravatronics@live.com>
Mon, 20 May 2013 09:44:31 +0000 (11:44 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 20 May 2013 09:44:31 +0000 (11:44 +0200)
commita93b160e72731d72e58a13052c1b6b83b089552a
tree947358ce1bd1fb22116b443e3d6d4f83f6caa94c
parenta48477eee5b2e3435cd865b830ff4ceeb1242358
Fixes handling of requirements during package update

When a package is updated, the requirements of the current version are deleted first and replaced by the new ones. This way, it's ensured that packages the current version requires and which the updated version doesn't require anymore, are properly handled [cf. WCF 1.1].

Fixes #1286
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php