mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
Merge pull request #1 from andrewandante/patch-1
FIX namespacing for BulkManager
This commit is contained in:
commit
d4e58316e5
@ -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