Closed PATROMO closed 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)
The conn and dm are optional parameters and need default value.