mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
BUG Fix an issue caused by adding BlogTreeExtension using a wrong api
This commit is contained in:
parent
520721c4f2
commit
55895d9515
@ -1,5 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
if(class_exists('WidgetArea')) DataExtension::add_to_class('BlogTree','BlogTreeExtension');
|
if(class_exists('WidgetArea')) Object::add_extension('BlogTree','BlogTreeExtension');
|
||||||
|
|
||||||
?>
|
|
Loading…
Reference in New Issue
Block a user