From 03dd7aff89036c6b5fcda421758290e6a5ef8398 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 2 Dec 2013 16:39:11 +0100 Subject: [PATCH] Removed obsolete code --- .../acp/templates/packageUpdateServerList.tpl | 4 --- .../install/files/acp/templates/tagAdd.tpl | 7 ----- .../PackageUpdateServerListPage.class.php | 27 ------------------- 3 files changed, 38 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl b/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl index 5d75f1d76b..e5d8bd67bd 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl @@ -13,10 +13,6 @@

{lang}wcf.acp.updateServer.list{/lang}

-{if $deletedPackageUpdateServerID} -

{lang}wcf.acp.updateServer.delete.success{/lang}

-{/if} -
{pages print=true assign=pagesLinks controller="PackageUpdateServerList" link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"} diff --git a/wcfsetup/install/files/acp/templates/tagAdd.tpl b/wcfsetup/install/files/acp/templates/tagAdd.tpl index b3df2a06d8..e936215bb0 100644 --- a/wcfsetup/install/files/acp/templates/tagAdd.tpl +++ b/wcfsetup/install/files/acp/templates/tagAdd.tpl @@ -67,13 +67,6 @@
- {if $errorField == 'synonyms'} - - {if $errorType == 'duplicate'} - {lang}wcf.acp.tag.error.synonym.duplicate{/lang} - {/if} - - {/if}
diff --git a/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php b/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php index f5abb396f7..f624160bb0 100755 --- a/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php @@ -1,7 +1,6 @@ deletedPackageUpdateServerID = intval($_REQUEST['deletedPackageUpdateServerID']); - } - /** * @see \wcf\page\MultipleLinkPage::readObjects() */ @@ -62,15 +46,4 @@ class PackageUpdateServerListPage extends SortablePage { parent::readObjects(); } - - /** - * @see \wcf\page\IPage::assignVariables() - */ - public function assignVariables() { - parent::assignVariables(); - - WCF::getTPL()->assign(array( - 'deletedPackageUpdateServerID' => $this->deletedPackageUpdateServerID - )); - } } -- 2.20.1