From 75700eae56780ef9405be3e013c06580be12f111 Mon Sep 17 00:00:00 2001 From: Hannes Bochmann Date: Wed, 27 Nov 2024 10:12:10 +0100 Subject: [PATCH] Bugfix fix TYPO3 12.4 compatibility --- Classes/Utility/VersionUtility.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Classes/Utility/VersionUtility.php b/Classes/Utility/VersionUtility.php index 54d00da..37957c2 100644 --- a/Classes/Utility/VersionUtility.php +++ b/Classes/Utility/VersionUtility.php @@ -38,19 +38,11 @@ */ final class VersionUtility { - public static function isTypo3Version12OrHigher(): bool - { - return VersionNumberUtility::convertVersionNumberToInteger( - VersionNumberUtility::getNumericTypo3Version() - ) >= 12000000 - ; - } - public static function isTypo3Version12OrLower(): bool { return VersionNumberUtility::convertVersionNumberToInteger( VersionNumberUtility::getNumericTypo3Version() - ) <= 12000000 + ) <= 13000000 ; } }