Move dateConverter to common utils namespace
[MAILPOET-2665]
This commit is contained in:
committed by
Jack Kitterhing
parent
4afc47463f
commit
d5bf33c49a
@ -2,7 +2,7 @@
|
||||
|
||||
namespace MailPoet\Models;
|
||||
|
||||
use MailPoet\Form\Util\DateConverter;
|
||||
use MailPoet\Util\DateConverter;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
|
||||
/**
|
||||
|
@ -2,7 +2,6 @@
|
||||
|
||||
namespace MailPoet\Subscribers\ImportExport\Import;
|
||||
|
||||
use MailPoet\Form\Util\DateConverter;
|
||||
use MailPoet\Models\CustomField;
|
||||
use MailPoet\Models\ModelValidator;
|
||||
use MailPoet\Models\Newsletter;
|
||||
@ -11,6 +10,7 @@ use MailPoet\Models\SubscriberCustomField;
|
||||
use MailPoet\Models\SubscriberSegment;
|
||||
use MailPoet\Subscribers\ImportExport\ImportExportFactory;
|
||||
use MailPoet\Subscribers\Source;
|
||||
use MailPoet\Util\DateConverter;
|
||||
use MailPoet\Util\Helpers;
|
||||
use MailPoet\Util\Security;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace MailPoet\Form\Util;
|
||||
namespace MailPoet\Util;
|
||||
|
||||
use MailPoetVendor\Carbon\Carbon;
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace MailPoet\Test\Form\Block;
|
||||
namespace MailPoet\Test\Util;
|
||||
|
||||
use MailPoet\Form\Util\DateConverter;
|
||||
use MailPoet\Util\DateConverter;
|
||||
|
||||
class DateConverterTest extends \MailPoetUnitTest {
|
||||
|
Reference in New Issue
Block a user