FIX: use moderated status, needs moderation flag has been removed.

This commit is contained in:
Will Rossiter 2012-07-22 13:32:01 +12:00
parent 8806abd645
commit 65c687a237

View File

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