From: Chad Horohoe Date: Tue, 19 Jul 2016 17:29:43 +0000 (-0700) Subject: SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25 X-Git-Tag: 1.31.0-rc.0~6337 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=53830e84ede2967ba49bee230b629d680d648cf4;p=lhc%2Fweb%2Fwiklou.git SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25 No callers anywhere anymore. Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d --- diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28 index 831ad58345..8b00d2efad 100644 --- a/RELEASE-NOTES-1.28 +++ b/RELEASE-NOTES-1.28 @@ -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 == diff --git a/includes/SiteConfiguration.php b/includes/SiteConfiguration.php index 1a92fb236a..5b9bdfa1b1 100644 --- a/includes/SiteConfiguration.php +++ b/includes/SiteConfiguration.php @@ -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.