Merge pull request #1 from andrewandante/patch-1

FIX namespacing for BulkManager
This commit is contained in:
Robbie Averill 2017-01-20 06:16:51 +13:00 committed by GitHub
commit d4e58316e5

View File

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