Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Commit

Permalink
Restore Query::TYPE_GEO_LOCATION constant for BC, but deprecate it
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Nov 1, 2013
1 parent 5654777 commit 25a8025
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/Doctrine/MongoDB/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 25a8025

Please sign in to comment.