Merge pull request #517 from creative-commoners/pulls/3.0/fix-config-reference

FIX Correctly import namespaces in BlogPostNotifications class
This commit is contained in:
Loz Calver 2018-03-20 10:03:49 +00:00 committed by GitHub
commit 836c7b4c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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