FIX namespacing for BulkManager

This namespace changes once BulkManager gets updated to ss4.
This commit is contained in:
Andrew Aitken-Fincham 2017-01-19 13:23:00 +00:00 committed by GitHub
parent 7a92b0915d
commit 279d47f43c

View File

@ -2,7 +2,7 @@
namespace SilverStripe\Comments\Admin; namespace SilverStripe\Comments\Admin;
use Colymba\BulkManager\GridFieldBulkManager; use Colymba\BulkManager\BulkManager;
use SilverStripe\Comments\Admin\CommentsGridFieldBulkAction\Handler; use SilverStripe\Comments\Admin\CommentsGridFieldBulkAction\Handler;
use SilverStripe\Core\Convert; use SilverStripe\Core\Convert;
use SilverStripe\Forms\GridField\GridFieldConfig_RecordEditor; use SilverStripe\Forms\GridField\GridFieldConfig_RecordEditor;
@ -31,7 +31,7 @@ class CommentsGridFieldConfig extends GridFieldConfig_RecordEditor
)); ));
// Add bulk option // Add bulk option
$manager = new GridFieldBulkManager(); $manager = new BulkManager();
$manager->addBulkAction( $manager->addBulkAction(
'spam', 'spam',