Skip to content

Commit

Permalink
Bugfix fix TYPO3 12.4 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Nov 27, 2024
1 parent 30826ef commit 75700ea
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Classes/Utility/VersionUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
;
}
}

0 comments on commit 75700ea

Please sign in to comment.