From af7db1b45247a48320092cc72b4f88b5e432c5da Mon Sep 17 00:00:00 2001 From: Robert Curry Date: Wed, 27 Mar 2013 15:27:09 +1300 Subject: [PATCH] Remove unnecessary hack. Fixes #69 and #71. --- _config.php | 2 -- 1 file changed, 2 deletions(-) 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');