Actions
Task #55749
closedEpic #47018: Implement Composer support and clean package manager API
isPackageActive() should check runtimeActivatedPackages first
Start date:
2014-02-06
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Sprint Focus:
Description
\TYPO3\CMS\Core\Package\PackageManager::isPackageActive() does a:
return parent::isPackageActive($packageKey) || isset($this->runtimeActivatedPackages[$packageKey]);
Where it should do a test on the more lightweight isset() first:
return isset($this->runtimeActivatedPackages[$packageKey]) || parent::isPackageActive($packageKey);
Actions