silverstripe/sapphire — pull request #503 by nyeholt (2012-06-04 15:49:36+00:00)
Title: Changes to use injector for creating some classes to ensure injection of dependencies

MINOR Use injector for creating Member_GroupSet object

MINOR Use Injector::inst() for creating objects; cannot rely on this->injector being present due to many classes being created with 'new', so use inst() directly. Will re

MINOR Remove injector autoset property for now; automatically setting it breaks a few test cases that don't know about it. As it's not required just yet, will remove from setting it.

MINOR Use injector for creating many many list objects

MINOR Use injector for creating objects from within the DataList