Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1.3.0 The options parameter does no longer accept just a boolean to s…

…ignify "justOne". Instead, this now has to be done with array('justOne' => true).

minimum version to work 1.0.5
  • Loading branch information...
commit d3cb43d3ffe5b3b57392208c4a2de638acae7918 1 parent abd1e05
@scorpjio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/morph/Storage.php
View
2  src/morph/Storage.php
@@ -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 d3cb43d

Please sign in to comment.
Something went wrong with that request. Please try again.