Skip to content

Commit

Permalink
Add $options arg to Database::command() (fixes doctrine#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Jun 14, 2012
1 parent 1f66726 commit 53a79bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/MongoDB/Database.php
Expand Up @@ -111,9 +111,9 @@ public function authenticate($username, $password)
return $this->getMongoDB()->authenticate($username, $password);
}

public function command(array $data)
public function command(array $data, array $options = array())
{
return $this->getMongoDB()->command($data);
return $this->getMongoDB()->command($data, $options);
}

public function createCollection($name, $capped = false, $size = 0, $max = 0)
Expand Down

0 comments on commit 53a79bb

Please sign in to comment.