From 80f7dc77d430774192b929d780f96260066df2ee Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 18 Oct 2015 09:31:31 +0200 Subject: Update to MediaWiki 1.25.3 --- .../elastica/lib/Elastica/Filter/GeohashCell.php | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php (limited to 'vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php') diff --git a/vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php b/vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php deleted file mode 100644 index d14b25fe..00000000 --- a/vendor/ruflin/elastica/lib/Elastica/Filter/GeohashCell.php +++ /dev/null @@ -1,45 +0,0 @@ - 40.3, 'lon' => 45.2] - * @param $precision Integer length of geohash prefix or distance (3, or "50m") - * @param bool $neighbors If true, filters cells next to the given cell. - */ - public function __construct($key, $location, $precision = -1, $neighbors = false) - { - parent::__construct($key, $location); - $this->setPrecision($precision); - $this->setNeighbors($neighbors); - } - - /** - * Set the precision for this filter - * @param string|int $precision Integer length of geohash prefix or distance (3, or "50m") - * @return \Elastica\Filter\GeohashCell - */ - public function setPrecision($precision) - { - return $this->setParam('precision', $precision); - } - - /** - * Set the neighbors option for this filter - * @param bool $neighbors If true, filters cells next to the given cell. - * @return \Elastica\Filter\GeohashCell - */ - public function setNeighbors($neighbors) - { - return $this->setParam('neighbors', (bool)$neighbors); - } -} \ No newline at end of file -- cgit v1.2.3-54-g00ecf