From eb7cdd1678162b55c25c23356be5423ef80e5d40 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 16 Jan 2013 22:06:29 +0100 Subject: [PATCH] Replaces left updateType references with isCritical --- .../install/files/acp/templates/packageAutoUpdateList.tpl | 2 +- .../lib/system/package/PackageUpdateDispatcher.class.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl index b03917c381..2585715b89 100644 --- a/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl +++ b/wcfsetup/install/files/acp/templates/packageAutoUpdateList.tpl @@ -41,7 +41,7 @@

{lang}wcf.acp.packageUpdate.noneAvailable{/lang}

{else} {foreach from=$availableUpdates item=availableUpdate} -
+

diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index 3b5b1799bf..ed661c08c8 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -541,7 +541,7 @@ class PackageUpdateDispatcher extends SingletonFactory { $conditions->add("package IN (SELECT DISTINCT package FROM wcf".WCF_N."_package)"); $sql = "SELECT pu.packageUpdateID, pu.packageUpdateServerID, pu.package, - puv.packageUpdateVersionID, puv.updateType, puv.packageDate, puv.filename, puv.packageVersion + puv.packageUpdateVersionID, puv.isCritical, puv.packageDate, puv.filename, puv.packageVersion FROM wcf".WCF_N."_package_update pu LEFT JOIN wcf".WCF_N."_package_update_version puv ON (puv.packageUpdateID = pu.packageUpdateID) @@ -561,7 +561,7 @@ class PackageUpdateDispatcher extends SingletonFactory { // version data if (!isset($updates[$existingVersion['packageID']]['versions'][$row['packageVersion']])) { $updates[$existingVersion['packageID']]['versions'][$row['packageVersion']] = array( - 'updateType' => $row['updateType'], + 'isCritical' => $row['isCritical'], 'packageDate' => $row['packageDate'], 'packageVersion' => $row['packageVersion'], 'servers' => array() -- 2.20.1