diff --git a/_config.php b/_config.php index 228b4a2..325e9f9 100644 --- a/_config.php +++ b/_config.php @@ -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');