From 25a8025829b1fcbdd83d8d743e7166f4560d2640 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Fri, 1 Nov 2013 16:33:56 -0400 Subject: [PATCH] Restore Query::TYPE_GEO_LOCATION constant for BC, but deprecate it See: https://github.com/doctrine/mongodb/commit/9d0dde013a80aecf604c27eae701fc710aa6a921 and https://github.com/doctrine/mongodb-odm/issues/643 --- lib/Doctrine/MongoDB/Query/Query.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/Doctrine/MongoDB/Query/Query.php b/lib/Doctrine/MongoDB/Query/Query.php index 4f8bd665..836590b9 100644 --- a/lib/Doctrine/MongoDB/Query/Query.php +++ b/lib/Doctrine/MongoDB/Query/Query.php @@ -51,6 +51,11 @@ class Query implements IteratorAggregate const TYPE_GEO_NEAR = 10; const TYPE_COUNT = 11; + /** + * @deprecated 1.1 Will be removed for 2.0 + */ + const TYPE_GEO_LOCATION = 10; + /** * The Collection instance. *