From 6a156a34566d6a717b4b4d6dd0f30499e8703ea5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 4 Jun 2013 01:04:41 +0200 Subject: [PATCH] Fixed automatic package update --- wcfsetup/install/files/acp/templates/packageUpdate.tpl | 4 ++-- .../lib/data/package/update/PackageUpdateAction.class.php | 2 +- wcfsetup/install/lang/de.xml | 2 ++ wcfsetup/install/lang/en.xml | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/packageUpdate.tpl b/wcfsetup/install/files/acp/templates/packageUpdate.tpl index 01374232b7..82015303d9 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdate.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdate.tpl @@ -1,4 +1,4 @@ -{include file='header' pageTitle='wcf.acp.packageUpdate'} +{include file='header' pageTitle='wcf.acp.package.update.title'}
-

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

+

{lang}wcf.acp.package.update.title{/lang}

diff --git a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php index f434172f2d..ba0dfe65a4 100644 --- a/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php +++ b/wcfsetup/install/files/lib/data/package/update/PackageUpdateAction.class.php @@ -382,7 +382,7 @@ class PackageUpdateAction extends AbstractDatabaseObjectAction { PackageUpdateServer::storeAuthData($this->parameters['authData']['packageUpdateServerID'], $this->parameters['authData']['username'], $this->parameters['authData']['password'], $this->parameters['authData']['saveCredentials']); } - $scheduler = new PackageInstallationScheduler($this->parameters['package']); + $scheduler = new PackageInstallationScheduler($this->parameters['packages']); try { $scheduler->buildPackageInstallationStack(); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index f3249ae929..ceac12b7da 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -782,6 +782,7 @@ + @@ -813,6 +814,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 14ba9b48a2..4fcc0f082d 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -781,6 +781,7 @@ Examples for medium ID detection: + @@ -812,6 +813,7 @@ Examples for medium ID detection: + -- 2.20.1