SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25

No callers anywhere anymore.

Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d
This commit is contained in:
Chad Horohoe 2016-07-19 10:29:43 -07:00 committed by BryanDavis
parent 34038266ee
commit 53830e84ed
2 changed files with 1 additions and 11 deletions

View file

@ -67,6 +67,7 @@ changes to languages because of Phabricator reports.
use or update a custom session provider if needed.
* Deprecated APIEditBeforeSave hook in favor of EditFilterMergedContent.
* The 'UploadVerification' hook is deprecated. Use 'UploadVerifyFile' instead.
* SiteConfiguration::isLocalVHost() was removed (deprecated since 1.25).
== Compatibility ==

View file

@ -565,17 +565,6 @@ class SiteConfiguration {
return $multi ? $res : current( $res );
}
/**
* Returns true if the given vhost is handled locally.
*
* @deprecated since 1.25; check if the host is in $wgLocalVirtualHosts instead.
* @param string $vhost
* @return bool
*/
public function isLocalVHost( $vhost ) {
return in_array( $vhost, $this->localVHosts );
}
/**
* Merge multiple arrays together.
* On encountering duplicate keys, merge the two, but ONLY if they're arrays.