We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b42e83 commit 990641bCopy full SHA for 990641b
app/code/Magento/Newsletter/Model/Queue.php
@@ -168,8 +168,8 @@ public function __construct(
168
$this->_subscribersCollection = $subscriberCollectionFactory->create();
169
$this->_transportBuilder = $transportBuilder;
170
171
-// $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
172
-// $this->timezone = $timezone ?: $objectManager->get(TimezoneInterface::class);
+ $objectManager = \Magento\Framework\App\ObjectManager::getInstance();
+ $this->timezone = $timezone ?: $objectManager->get(TimezoneInterface::class);
173
$this->utcConverter = $utcConverter ?? $objectManager->get(LocalizedDateToUtcConverterInterface::class);
174
}
175
0 commit comments