mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Correctly import namespaces in BlogPostNotifications class
This commit is contained in:
parent
374c3e2893
commit
29154eae4c
@ -2,7 +2,11 @@
|
|||||||
|
|
||||||
namespace SilverStripe\Blog\Model;
|
namespace SilverStripe\Blog\Model;
|
||||||
|
|
||||||
|
use SilverStripe\Comments\Model\Comment;
|
||||||
|
use SilverStripe\Core\Config\Config;
|
||||||
use SilverStripe\ORM\DataExtension;
|
use SilverStripe\ORM\DataExtension;
|
||||||
|
use SilverStripe\ORM\SS_List;
|
||||||
|
use SilverStripe\Security\Member;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Customise blog post to support comment notifications.
|
* Customise blog post to support comment notifications.
|
||||||
@ -13,7 +17,9 @@ class BlogPostNotifications extends DataExtension
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Configure whether to send notifications even for spam comments
|
* Configure whether to send notifications even for spam comments
|
||||||
|
*
|
||||||
* @config
|
* @config
|
||||||
|
* @var boolean
|
||||||
*/
|
*/
|
||||||
private static $notification_on_spam = true;
|
private static $notification_on_spam = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user