mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
FIX namespacing for BulkManager
This namespace changes once BulkManager gets updated to ss4.
This commit is contained in:
parent
7a92b0915d
commit
279d47f43c
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user