SiteConfiguration: Remove isLocalVHost(), deprecated since 1.25
authorChad Horohoe <chadh@wikimedia.org>
Tue, 19 Jul 2016 17:29:43 +0000 (10:29 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Tue, 19 Jul 2016 23:44:22 +0000 (23:44 +0000)
No callers anywhere anymore.

Change-Id: I5f85b3cf60a59d28206bf56a0f8e33c812248d5d

RELEASE-NOTES-1.28
includes/SiteConfiguration.php

index 831ad58..8b00d2e 100644 (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.
   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 ==
 
 
 == Compatibility ==
 
index 1a92fb2..5b9bdfa 100644 (file)
@@ -565,17 +565,6 @@ class SiteConfiguration {
                return $multi ? $res : current( $res );
        }
 
                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.
        /**
         * Merge multiple arrays together.
         * On encountering duplicate keys, merge the two, but ONLY if they're arrays.