From: Matthias Schmidt Date: Wed, 16 Jan 2013 21:06:29 +0000 (+0100) Subject: Replaces left updateType references with isCritical X-Git-Tag: 2.0.0_Beta_1~555 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb7cdd1678162b55c25c23356be5423ef80e5d40;p=GitHub%2FWoltLab%2FWCF.git Replaces left updateType references with isCritical --- 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()