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

Commit

Permalink
Deprecate Database force/prev/resetError() methods (to be removed in …
Browse files Browse the repository at this point in the history
…1.2)
  • Loading branch information
jmikola committed Aug 12, 2013
1 parent ea5b7d0 commit 05258d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Doctrine/MongoDB/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ public function execute($code, array $args = array())
/**
* Wrapper method for MongoDB::forceError().
*
* @deprecated 1.1 Deprecated in driver; will be removed for 1.2
* @see http://php.net/manual/en/mongodb.forceerror.php
* @return array
*/
Expand Down Expand Up @@ -425,6 +426,7 @@ public function listCollections()
/**
* Wrapper method for MongoDB::prevError().
*
* @deprecated 1.1 Deprecated in driver; will be removed for 1.2
* @see http://php.net/manual/en/mongodb.preverror.php
* @return array
*/
Expand All @@ -449,6 +451,7 @@ public function repair($preserveClonedFiles = false, $backupOriginalFiles = fals
/**
* Wrapper method for MongoDB::resetError().
*
* @deprecated 1.1 Deprecated in driver; will be removed for 1.2
* @see http://php.net/manual/en/mongodb.reseterror.php
* @return array
*/
Expand Down

0 comments on commit 05258d4

Please sign in to comment.