From f92aaf6a3b4f03b3d0697d78d3b1ba054b410ce5 Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Sun, 17 Jul 2011 03:40:33 +0200 Subject: [PATCH] PackageUpdateDispatcher::getAvailableUpdates(): removing unused --- .../files/lib/system/package/PackageUpdateDispatcher.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index e40dd08460..4a065bdfe5 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -583,8 +583,7 @@ abstract class PackageUpdateDispatcher { while ($row = $statement->fetchArray()) { $existingPackages[$row['package']][] = $row; } - $existingPackageIdentifiers = implode("','", array_keys($existingPackages)); - if (empty($existingPackageIdentifiers)) return $updates; + if (empty($existingPackages)) return $updates; // get all update versions $conditions = new PreparedStatementConditionBuilder(); -- 2.20.1