Skip to content

Commit

Permalink
[TASK] Migration to v10
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas-Sommer committed Jul 17, 2023
1 parent 7071bbf commit 9068545
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
16 changes: 0 additions & 16 deletions Classes/Service/PardotService.php
Expand Up @@ -10,7 +10,6 @@
use CyberDuck\Pardot\PardotApi;
use TYPO3\CMS\Core\Configuration\ExtensionConfiguration;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Object\ObjectManager;

class PardotService
{
Expand All @@ -20,11 +19,6 @@ class PardotService
*/
public const EXTKEY = 'pardot';

/**
* @var \TYPO3\CMS\Extbase\Object\ObjectManager
*/
protected $objectManager;

/**
* @var PardotApi
*/
Expand All @@ -37,21 +31,11 @@ class PardotService
*/
protected $settings;

/**
* @param \TYPO3\CMS\Extbase\Object\ObjectManager $objectManager
* @return void
*/
public function injectObjectManager(ObjectManager $objectManager)
{
$this->objectManager = $objectManager;
}

/**
* initialize API
*/
public function __construct()
{
$this->injectObjectManager(new ObjectManager());
$this->getExtConfSettings();

$this->pardot = GeneralUtility::makeInstance(
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -10,7 +10,7 @@
],
"license": "GPL-2.0-or-later",
"require": {
"typo3/cms-core": ">=8.7.0 <10.0.0",
"typo3/cms-core": "^v9.5.31 || ^v10.4.37",
"cyber-duck/pardot-api": "dev-develop"
},
"autoload": {
Expand Down
6 changes: 1 addition & 5 deletions ext_emconf.php
Expand Up @@ -15,14 +15,10 @@
'author' => 'Andreas Sommer',
'author_email' => 'sommer@belsignum.com',
'state' => 'beta',
'internal' => '',
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.0',
'constraints' => array(
'depends' => array(
'typo3' => '8.7.0-9.5.99',
'typo3' => '8.7.0-10.4.99',
),
'conflicts' => array(
),
Expand Down

0 comments on commit 9068545

Please sign in to comment.