Fixed threw package update errors
authorMatthias Schmidt <gravatronics@live.com>
Fri, 5 Aug 2011 16:58:28 +0000 (18:58 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 5 Aug 2011 16:58:28 +0000 (18:58 +0200)
commitca38121bb79a990b9a8a4048e3e5a2cee25b3058
treeb3019102490c94816a997cf8d63fff3bfb56805d
parent52f6a4959325d46bc072a9acef42095610b499a1
Fixed threw package update errors

Those three errors are: 1. After a package is updated, the package
version isn't updated. 2. Several pieces of code caused an error in
`PackageInstallationNodeBuilder::buildPluginNodes()` because
`PackageArchive::getUpdateInstructions()` returned an array with an
illegal structure that was created while building the update
instructions. 3. `use wcf\util\StringUtil;` was missing in `Package`
since the `StringUtil` is used in `Package::checkFromversion()` (just
used during updates, not during installations).
wcfsetup/install/files/lib/data/package/Package.class.php
wcfsetup/install/files/lib/system/package/PackageArchive.class.php
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php