Chad has uploaded a new change for review. https://gerrit.wikimedia.org/r/299798
Change subject: SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25 ...................................................................... SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25 No callers anywhere anymore. Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d --- M RELEASE-NOTES-1.28 M includes/SiteConfiguration.php 2 files changed, 1 insertion(+), 11 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/98/299798/1 diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28 index 831ad58..8b00d2e 100644 --- a/RELEASE-NOTES-1.28 +++ b/RELEASE-NOTES-1.28 @@ -67,6 +67,7 @@ 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 1a92fb2..5b9bdfa 100644 --- a/includes/SiteConfiguration.php +++ b/includes/SiteConfiguration.php @@ -566,17 +566,6 @@ } /** - * 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. * PHP's array_merge_recursive() merges ANY duplicate values into arrays, -- To view, visit https://gerrit.wikimedia.org/r/299798 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Chad <ch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits