Skip to content

Commit

Permalink
updated Nested's remove method, refs #62
Browse files Browse the repository at this point in the history
  • Loading branch information
rdiaztushman committed Jul 19, 2014
1 parent e60ce10 commit 25c888a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Dsc/Mongo/Collections/Nested.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,10 @@ protected function afterUpdate()
return parent::afterUpdate();
}

public function remove()
public function remove($options=array())
{
$this->__options = $options;

$this->beforeDelete();

// DELETE FROM nested_category WHERE lft BETWEEN @myLeft AND @myRight;
Expand Down

0 comments on commit 25c888a

Please sign in to comment.