BUG Fix an issue caused by adding BlogTreeExtension using a wrong api

This commit is contained in:
Saophalkun Ponlu 2012-09-10 20:25:33 +12:00
parent 520721c4f2
commit 55895d9515
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
<?php
if(class_exists('WidgetArea')) DataExtension::add_to_class('BlogTree','BlogTreeExtension');
?>
if(class_exists('WidgetArea')) Object::add_extension('BlogTree','BlogTreeExtension');