Remove Premium namespace from dynamic segments
[MAILPOET-2382]
This commit is contained in:
committed by
Jack Kitterhing
parent
70a89b7939
commit
d7d747b945
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace MailPoet\Premium\DynamicSegments\FreePluginConnectors;
|
||||
namespace MailPoet\DynamicSegments\FreePluginConnectors;
|
||||
|
||||
use MailPoet\Listing\BulkActionController;
|
||||
use MailPoet\Listing\BulkActionFactory;
|
||||
use MailPoet\Listing\Handler;
|
||||
use MailPoet\Premium\Models\DynamicSegment;
|
||||
use MailPoet\Models\DynamicSegment;
|
||||
|
||||
class SubscribersBulkActionHandler {
|
||||
|
||||
@ -19,7 +19,7 @@ class SubscribersBulkActionHandler {
|
||||
function apply(array $segment, array $data) {
|
||||
if ($segment['type'] === DynamicSegment::TYPE_DYNAMIC) {
|
||||
$bulkAction = new BulkActionController(new BulkActionFactory(), new Handler());
|
||||
return $bulkAction->apply('\MailPoet\Premium\Models\SubscribersInDynamicSegment', $data);
|
||||
return $bulkAction->apply('\MailPoet\Models\SubscribersInDynamicSegment', $data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user