Remove legacy check

This one is not required anymore as we have the RepairConfig repair step since November 2014.
This commit is contained in:
Lukas Reschke 2015-12-08 08:44:42 +01:00
parent d6276faff6
commit 6ea7410041
1 changed files with 0 additions and 5 deletions

View File

@ -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;