From 313e4649c1280cbf489df21c185fa2f7a2753149 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Fri, 2 Jun 2017 12:26:56 +1200 Subject: [PATCH] Remove Object reference --- code/GoogleSitemap.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index 39822bc..0a781df 100644 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -9,6 +9,9 @@ use SilverStripe\ORM\ArrayList; use SilverStripe\ORM\DataList; use SilverStripe\Versioned\Versioned; use SilverStripe\View\ArrayData; +use SilverStripe\Core\Extensible; +use SilverStripe\Core\Injector\Injectable; +use SilverStripe\Core\Config\Configurable; /** * Sitemaps are a way to tell Google about pages on your site that they might @@ -48,8 +51,11 @@ use SilverStripe\View\ArrayData; * * @package googlesitemaps */ -class GoogleSitemap extends Object +class GoogleSitemap { + use Extensible; + use Injectable; + use Configurable; /** * List of {@link DataObject} class names to include. As well as the change