summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-12-08 08:44:42 +0100
committerLukas Reschke <lukas@owncloud.com>2015-12-08 08:44:42 +0100
commit6ea74100413d57b98fa5a5966df59ad3dee7ff8d (patch)
tree8cd62e5835e37c46ba7185a7556e0b61054ea754 /lib
parentd6276faff6fafe88f59953cb61f9411038be23e9 (diff)
downloadnextcloud-server-6ea74100413d57b98fa5a5966df59ad3dee7ff8d.tar.gz
nextcloud-server-6ea74100413d57b98fa5a5966df59ad3dee7ff8d.zip
Remove legacy check
This one is not required anymore as we have the RepairConfig repair step since November 2014.
Diffstat (limited to 'lib')
-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;