From ea662ea9d28f7b178eb65a324ee9ba7613dc7fa2 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Tim=20D=C3=BCsterhus?=
Date: Wed, 11 May 2022 12:01:17 +0200
Subject: [PATCH] Remove code paths that are only taken if
`->isMultiDomainSetup()` returns `true`
see #4295
---
.../files/acp/templates/applicationEdit.tpl | 113 --------
.../acp/templates/applicationManagement.tpl | 104 ++++---
.../acp/form/ApplicationEditForm.class.php | 273 ------------------
.../form/ApplicationManagementForm.class.php | 73 ++---
.../install/files/lib/system/WCF.class.php | 8 -
.../system/request/RequestHandler.class.php | 5 +-
.../system/session/SessionHandler.class.php | 15 +-
.../lib/system/style/StyleCompiler.class.php | 26 +-
wcfsetup/install/lang/de.xml | 9 +-
wcfsetup/install/lang/en.xml | 9 +-
10 files changed, 93 insertions(+), 542 deletions(-)
delete mode 100644 wcfsetup/install/files/acp/templates/applicationEdit.tpl
delete mode 100644 wcfsetup/install/files/lib/acp/form/ApplicationEditForm.class.php
diff --git a/wcfsetup/install/files/acp/templates/applicationEdit.tpl b/wcfsetup/install/files/acp/templates/applicationEdit.tpl
deleted file mode 100644
index fc43a29835..0000000000
--- a/wcfsetup/install/files/acp/templates/applicationEdit.tpl
+++ /dev/null
@@ -1,113 +0,0 @@
-{include file='header' pageTitle='wcf.acp.application.edit'}
-
-
-
-{include file='formError'}
-
-{if $success|isset}
- {lang}wcf.global.success.edit{/lang}
-{/if}
-
-
-
-{include file='footer'}
diff --git a/wcfsetup/install/files/acp/templates/applicationManagement.tpl b/wcfsetup/install/files/acp/templates/applicationManagement.tpl
index 8e826aab1b..d3057d3b1f 100644
--- a/wcfsetup/install/files/acp/templates/applicationManagement.tpl
+++ b/wcfsetup/install/files/acp/templates/applicationManagement.tpl
@@ -14,68 +14,62 @@
{/hascontent}
-{if $isMultiDomainSetup}
- {lang}wcf.acp.application.multiDomain{/lang}
-{/if}
-
{include file='formNotice' action='edit'}
-
-Es wird dringend empfohlen die Apps auf eine gemeinsame Domain zu verschieben, bitte passen Sie dazu die Domain- und Pfadkonfiguration der installierten Apps an:
-]]>
@@ -5565,5 +5557,6 @@ Benachrichtigungen auf {PAGE_TITLE|phra
+
diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml
index 9a7355b3a3..6795efaed8 100644
--- a/wcfsetup/install/lang/en.xml
+++ b/wcfsetup/install/lang/en.xml
@@ -77,14 +77,6 @@
- - The support for setups with multiple domains is discontinued.
-
-It is strongly recommended to consolidate all apps on a shared domain, please adjust the domain and path settings for these apps:
-]]>
@@ -5567,5 +5559,6 @@ your notifications on {PAGE_TITLE|phras
+
--
2.20.1