From 53830e84ede2967ba49bee230b629d680d648cf4 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 19 Jul 2016 10:29:43 -0700 Subject: [PATCH] SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25 No callers anywhere anymore. Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d --- RELEASE-NOTES-1.28 | 1 + includes/SiteConfiguration.php | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) 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. -- 2.20.1