Merge "MediaWiki.php: Make getUrlDomainDistance() actually static"
This commit is contained in:
commit
d96d1264ee
1 changed files with 1 additions and 1 deletions
|
|
@ -678,7 +678,7 @@ class MediaWiki {
|
|||
* @param IContextSource $context
|
||||
* @return string|bool Either "local" or "remote" if in the farm, false otherwise
|
||||
*/
|
||||
private function getUrlDomainDistance( $url, IContextSource $context ) {
|
||||
private static function getUrlDomainDistance( $url, IContextSource $context ) {
|
||||
static $relevantKeys = [ 'host' => true, 'port' => true ];
|
||||
|
||||
$infoCandidate = wfParseUrl( $url );
|
||||
|
|
|
|||
Loading…
Reference in a new issue