Permalink
Browse files

Merge pull request #35 from scorpjio/patch-1

1.3.0 	The options parameter does no longer accept just a boolean to sig...
  • Loading branch information...
2 parents abd1e05 + d3cb43d commit 66e3214c77018c69c228d7e24f30da61da38e64a Jonathan Moss committed Apr 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/morph/Storage.php
View
@@ -205,7 +205,7 @@ private function update(Object $object)
public function delete(Object $object)
{
$query = array('_id' => $object->id());
- return $this->db->selectCollection($object->collection())->remove($query, true);
+ return $this->db->selectCollection($object->collection())->remove($query, array('justOne' => true));
}
/**

0 comments on commit 66e3214

Please sign in to comment.