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

Commit

Permalink
Merge pull request #35 from scorpjio/patch-1
Browse files Browse the repository at this point in the history
1.3.0 	The options parameter does no longer accept just a boolean to sig...
  • Loading branch information
Jonathan Moss committed Apr 4, 2012
2 parents abd1e05 + d3cb43d commit 66e3214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/morph/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

/**
Expand Down

0 comments on commit 66e3214

Please sign in to comment.