Remove legacy check

This one is not required anymore as we have the RepairConfig repair step since November 2014.
remotes/origin/fix_emit_scanFiles
Lukas Reschke 10 years ago
parent d6276faff6
commit 6ea7410041
  1. 5
      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;

Loading…
Cancel
Save