From: Alexander Ebert Date: Sat, 10 Aug 2013 11:33:19 +0000 (+0200) Subject: Fixed PIP priority on uninstall X-Git-Tag: 2.0.0_Beta_7~31^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7a80823fce7abb93f338ea79def5f429f3ce937;p=GitHub%2FWoltLab%2FWCF.git Fixed PIP priority on uninstall Fixes #1455 --- diff --git a/wcfsetup/install/files/lib/system/package/PackageUninstallationNodeBuilder.class.php b/wcfsetup/install/files/lib/system/package/PackageUninstallationNodeBuilder.class.php index 4536a08707..ebdac8a5c1 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUninstallationNodeBuilder.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUninstallationNodeBuilder.class.php @@ -39,7 +39,7 @@ class PackageUninstallationNodeBuilder extends PackageInstallationNodeBuilder { // fetch ordered pips $pips = array(); $sql = "SELECT pluginName, className, - CASE pluginName WHEN 'packageinstallationplugin' THEN 1 WHEN 'files' THEN 2 ELSE 0 END AS pluginOrder + CASE pluginName WHEN 'packageinstallationplugin' THEN 1 WHEN 'file' THEN 2 ELSE 0 END AS pluginOrder FROM wcf".WCF_N."_package_installation_plugin ORDER BY pluginOrder, priority"; $statement = WCF::getDB()->prepareStatement($sql);