From: jenkins-bot Date: Sun, 18 Mar 2018 22:36:44 +0000 (+0000) Subject: Merge "Remove @dataProvider and @covers from non-test functions" X-Git-Tag: 1.31.0-rc.0~352 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=1f7f7d9700f0668fb1e0eb28d0cc0c4033b76fbc;hp=a2bb8124b7f45c74412332754e35de412cc9c7b9;p=lhc%2Fweb%2Fwiklou.git Merge "Remove @dataProvider and @covers from non-test functions" --- diff --git a/includes/libs/HashRing.php b/includes/libs/HashRing.php index 66121303bc..3b9c24d978 100644 --- a/includes/libs/HashRing.php +++ b/includes/libs/HashRing.php @@ -136,19 +136,6 @@ class HashRing { return $this->sourceMap; } - /** - * Get a new hash ring with a location removed from the ring - * - * @param string $location - * @return HashRing|bool Returns false if no non-zero weighted spots are left - */ - public function newWithoutLocation( $location ) { - $map = $this->sourceMap; - unset( $map[$location] ); - - return count( $map ) ? new self( $map ) : false; - } - /** * Remove a location from the "live" hash ring *