From 6ea74100413d57b98fa5a5966df59ad3dee7ff8d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 8 Dec 2015 08:44:42 +0100 Subject: [PATCH] Remove legacy check This one is not required anymore as we have the RepairConfig repair step since November 2014. --- lib/private/security/trusteddomainhelper.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/private/security/trusteddomainhelper.php b/lib/private/security/trusteddomainhelper.php index 6dbaadfdb6..7d7cd5196b 100644 --- a/lib/private/security/trusteddomainhelper.php +++ b/lib/private/security/trusteddomainhelper.php @@ -74,11 +74,6 @@ class TrustedDomainHelper { return false; } - // TODO: Workaround for older instances still with port applied. Remove for ownCloud 9. - if(in_array($domainWithPort, $trustedList)) { - return true; - } - // Always allow access from localhost if (preg_match(Request::REGEX_LOCALHOST, $domain) === 1) { return true;