Commit 647201af authored by Thomas Löffler's avatar Thomas Löffler

Removes one obsolete function

parent 6df8fbf1
Pipeline #1962 passed with stages
in 1 minute and 27 seconds
...@@ -1241,19 +1241,9 @@ class Version extends \T3o\TerFe2\Domain\Model\AbstractEntity ...@@ -1241,19 +1241,9 @@ class Version extends \T3o\TerFe2\Domain\Model\AbstractEntity
$supportedTypo3Versions = []; $supportedTypo3Versions = [];
foreach ($typo3Versions as $label => $mainVersion) { foreach ($typo3Versions as $label => $mainVersion) {
$supportedTypo3Versions[$label] = $this->isSupportedByTypo3Version($mainVersion); $supportedTypo3Versions[$label] = \T3o\TerFe2\Utility\Version::doesExtensionVersionSupportTypo3Version($this, $mainVersion);
} }
return $supportedTypo3Versions; return $supportedTypo3Versions;
} }
/**
* @param int $mainVersion
* @return bool
*/
public function isSupportedByTypo3Version(int $mainVersion): bool
{
return \T3o\TerFe2\Utility\Version::doesExtensionVersionSupportTypo3Version($this, $mainVersion);
}
} }
Markdown is supported
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