Remove Premium namespace from dynamic segments

[MAILPOET-2382]
This commit is contained in:
Jan Jakeš
2019-10-03 09:50:46 +02:00
committed by Jack Kitterhing
parent 70a89b7939
commit d7d747b945
24 changed files with 103 additions and 103 deletions

View File

@ -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);
}
}