Fix PackageInstallationDispatcher for WCF_N != 1
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 29 May 2013 17:58:01 +0000 (19:58 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 29 May 2013 17:58:01 +0000 (19:58 +0200)
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php

index 83a05d94410a01d7fdf11bbd144b5f778a30701c..052498fee539059492ae3825821c6351bcaf4c84 100644 (file)
@@ -186,8 +186,8 @@ class PackageInstallationDispatcher {
                        
                        // rebuild config files for affected applications
                        $sql = "SELECT          package.packageID
-                               FROM            wcf1_package_installation_queue queue,
-                                               wcf1_package package
+                               FROM            wcf".WCF_N."_package_installation_queue queue,
+                                               wcf".WCF_N."_package package
                                WHERE           queue.processNo = ?
                                                AND package.packageID = queue.packageID
                                                AND package.packageID <> ?