doctrine / DoctrineCouchDBBundle

Symfony Bundle for DoctrineCouchDB
http://www.doctrine-project.org
Other
49 stars 46 forks source link

Console commands fix. #34

Closed PATROMO closed 11 years ago

PATROMO commented 11 years ago

The conn and dm are optional parameters and need default value.

stof commented 11 years ago

This is wrong IMO. The ManagerRegistry returns the default manager when passing null as argument, not when passing default. your code is now relying on the fact that the name of the default manager is also default (which is not guaranteed)