Merge pull request #73 from robert-h-curry/new-sitetree-hack

Remove unnecessary hack. Fixes #69 and #71.
This commit is contained in:
Sean Harvey 2013-04-03 13:06:06 -07:00
commit 01176ec6ed
1 changed files with 0 additions and 2 deletions

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');