Commit 5ce99e3d authored by Jens Jacobsen's avatar Jens Jacobsen
Browse files

Replace usage of Tx_Extbase_Object_ObjectManager

parent 529929b8
Pipeline #1724 passed with stages
in 3 minutes and 52 seconds
......@@ -207,7 +207,7 @@ class tx_ter_api
*/
protected static function notifyExtensionVersionUpload($extensionInfoData)
{
$objectManager = GeneralUtility::makeInstance('Tx_Extbase_Object_ObjectManager');
$objectManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
/** @var Tx_Amqp_Service_ProducerService $producerService */
$producerService = $objectManager->get('Tx_Amqp_Service_ProducerService');
......@@ -390,7 +390,7 @@ class tx_ter_api
*/
protected function notifyExtensionKeyRegistration($registerExtensionKeyData)
{
$objectManager = GeneralUtility::makeInstance('Tx_Extbase_Object_ObjectManager');
$objectManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
/** @var Tx_Amqp_Service_ProducerService $producerService */
$producerService = $objectManager->get('Tx_Amqp_Service_ProducerService');
......@@ -535,7 +535,7 @@ class tx_ter_api
*/
protected function notifyExtensionKeyDelete($extensionKey)
{
$objectManager = GeneralUtility::makeInstance('Tx_Extbase_Object_ObjectManager');
$objectManager = GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\ObjectManager::class);
/** @var Tx_Amqp_Service_ProducerService $producerService */
$producerService = $objectManager->get('Tx_Amqp_Service_ProducerService');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment