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 --- .../lib/Elastica/Aggregation/ReverseNested.php | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php (limited to 'vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php') diff --git a/vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php b/vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php deleted file mode 100644 index d4056f13..00000000 --- a/vendor/ruflin/elastica/lib/Elastica/Aggregation/ReverseNested.php +++ /dev/null @@ -1,50 +0,0 @@ -setPath($path); - } - } - - /** - * Set the nested path for this aggregation - * - * @param string $path - * @return ReverseNested - */ - public function setPath($path) - { - return $this->setParam("path", $path); - } - - /** - * {@inheritDoc} - */ - public function toArray() - { - $array = parent::toArray(); - - // ensure we have an object for the reverse_nested key. - // if we don't have a path, then this would otherwise get encoded as an empty array, which is invalid. - $array['reverse_nested'] = (object)$array['reverse_nested']; - - return $array; - } -} -- cgit v1.2.3-54-g00ecf