Fixed PIP priority on uninstall
authorAlexander Ebert <ebert@woltlab.com>
Sat, 10 Aug 2013 11:33:19 +0000 (13:33 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 10 Aug 2013 11:33:19 +0000 (13:33 +0200)
Fixes #1455

wcfsetup/install/files/lib/system/package/PackageUninstallationNodeBuilder.class.php

index 4536a08707f9f091b70aba8a3c4a0084712e820f..ebdac8a5c143e0fafced6f7c4a2d32e048b7812e 100644 (file)
@@ -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);