Commit: 25a28994a68774be840d1f739ecce07715cf802e

Author: Nate Abele | Date: 2011-04-01 08:41:40 -0400
Changing incorrect MongoDB operator. Fixes #327.
diff --git a/libraries/lithium/data/source/mongo_db/Exporter.php b/libraries/lithium/data/source/mongo_db/Exporter.php index 5d295be..736212a 100644 --- a/libraries/lithium/data/source/mongo_db/Exporter.php +++ b/libraries/lithium/data/source/mongo_db/Exporter.php @@ -84,7 +84,7 @@ class Exporter extends \lithium\core\StaticObject { 'create' => null, 'update' => '$set', 'increment' => '$inc', - 'remove' => '$remove', + 'remove' => '$unset', 'rename' => '$rename', ); $result = array();