From 29154eae4c2c27f9100f722d24b08efd36fea0b5 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Tue, 20 Mar 2018 16:54:55 +1300 Subject: [PATCH] FIX Correctly import namespaces in BlogPostNotifications class --- src/Model/BlogPostNotifications.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Model/BlogPostNotifications.php b/src/Model/BlogPostNotifications.php index e6fdbd9..eca2f7c 100644 --- a/src/Model/BlogPostNotifications.php +++ b/src/Model/BlogPostNotifications.php @@ -2,7 +2,11 @@ namespace SilverStripe\Blog\Model; +use SilverStripe\Comments\Model\Comment; +use SilverStripe\Core\Config\Config; use SilverStripe\ORM\DataExtension; +use SilverStripe\ORM\SS_List; +use SilverStripe\Security\Member; /** * Customise blog post to support comment notifications. @@ -13,7 +17,9 @@ class BlogPostNotifications extends DataExtension { /** * Configure whether to send notifications even for spam comments + * * @config + * @var boolean */ private static $notification_on_spam = true;