silverstripe/silverstripe-cms — pull request #227 by stojg (2012-10-30 05:06:10+00:00)
Title: MINOR Code refactoring of CMSMain::SearchForm() extracted some methods

Functionality is unchanged. I just thought it looked a bit untidy.

- Extracted method to get all CMSSiteTreeFilters to CMSSiteTreeFilter
- Extracted method to get all page types in an array to CMSMain::getPageTypes()