Bug #97665 » local_history_ExtensionManagementUtility_II.patch
web/typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php | ||
---|---|---|
use TYPO3\CMS\Core\Package\PackageManager;
|
||
use TYPO3\CMS\Core\Preparations\TcaPreparation;
|
||
use TYPO3\CMS\Core\Resource\Filter\FileExtensionFilter;
|
||
use TYPO3\CMS\Core\Service\DependencyOrderingService;
|
||
/**
|
||
* Extension Management functions
|
||
... | ... | |
*/
|
||
public static function isLoaded($key)
|
||
{
|
||
if (static::$packageManager === null) {
|
||
$dependencyOrderingService = GeneralUtility::makeInstance( DependencyOrderingService::class);
|
||
static::$packageManager = GeneralUtility::makeInstance(PackageManager::class,[$dependencyOrderingService]);
|
||
}
|
||
return static::$packageManager->isPackageActive($key);
|
||
}
|
||
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »