summaryrefslogtreecommitdiffstats
path: root/lib/private/security/trusteddomainhelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/security/trusteddomainhelper.php')
-rw-r--r--lib/private/security/trusteddomainhelper.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/security/trusteddomainhelper.php b/lib/private/security/trusteddomainhelper.php
index 6dbaadfdb60..7d7cd5196b1 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;