mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX: use moderated status, needs moderation flag has been removed.
This commit is contained in:
parent
8806abd645
commit
65c687a237
@ -52,14 +52,14 @@ class CommentAdmin extends LeftAndMain {
|
||||
$needs = new GridField(
|
||||
'Comments',
|
||||
_t('CommentsAdmin.NeedsModeration', 'Needs Moderation'),
|
||||
Comment::get()->where('NeedsModeration = 1'),
|
||||
Comment::get()->where('Moderated = 0'),
|
||||
$commentsConfig
|
||||
);
|
||||
|
||||
$moderated = new GridField(
|
||||
'CommentsModerated',
|
||||
_t('CommentsAdmin.CommentsModerated'),
|
||||
Comment::get()->where('NeedsModeration = 0'),
|
||||
Comment::get()->where('Moderated = 1'),
|
||||
$commentsConfig
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user