From d668e7cd2b09b95409a34817d73e4d926510ec5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Wolda=C5=84ski?= Date: Tue, 14 Nov 2023 11:20:10 +0100 Subject: [PATCH] [TASK] Add support for T3 v12.4 --- Classes/CacheManager.php | 2 +- composer.json | 2 +- ext_emconf.php | 4 ++-- ext_localconf.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Classes/CacheManager.php b/Classes/CacheManager.php index fa4162c..5389a4c 100644 --- a/Classes/CacheManager.php +++ b/Classes/CacheManager.php @@ -86,7 +86,7 @@ public function execute(): void } // initialize all connections - $active = null; + $active = 0; do { $multiExecResult = curl_multi_exec($multiHandle, $active); $this->logger->debug('status init: ' . $multiExecResult); diff --git a/composer.json b/composer.json index 41e266c..bc0a1e4 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "license": ["GPL-2.0+"], "keywords": ["TYPO3 CMS", "Purge"], "require": { - "typo3/cms-core": "^11.5" + "typo3/cms-core": "^11.5 || ^12.4" }, "autoload": { "psr-4": { diff --git a/ext_emconf.php b/ext_emconf.php index 6f51999..22b81af 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,12 +4,12 @@ 'title' => 'Cache Purger', 'description' => 'Purge cached URLs within Varnish instances', 'category' => 'misc', - 'version' => '2.0.0', + 'version' => '3.0.0', 'state' => 'stable', 'clearCacheOnLoad' => 0, 'constraints' => [ 'depends' => [ - 'typo3' => '11.5.0-11.5.99', + 'typo3' => '11.5.0-12.4.99', ], 'conflicts' => [], 'suggests' => [], diff --git a/ext_localconf.php b/ext_localconf.php index d166235..2bd2b6f 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -1,6 +1,6 @@