FIX Correctly import namespaces in BlogPostNotifications class

This commit is contained in:
Robbie Averill 2018-03-20 16:54:55 +13:00
parent 374c3e2893
commit 29154eae4c

View File

@ -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;