Remove unnecessary hack. Fixes #69 and #71.

This commit is contained in:
Robert Curry 2013-03-27 15:27:09 +13:00
parent 3c447a3218
commit af7db1b452

View File

@ -6,8 +6,6 @@
*/
Object::add_extension('SiteTree', 'SiteTreeSubsites');
// Hack - this ensures that the SiteTree defineMethods gets called before any of its subclasses...
new SiteTree();
Object::add_extension('ContentController', 'ControllerSubsites');
Object::add_extension('LeftAndMain', 'LeftAndMainSubsites');
Object::add_extension('LeftAndMain', 'ControllerSubsites');