Project

General

Profile

Actions

Task #55749

closed

Epic #47018: Implement Composer support and clean package manager API

isPackageActive() should check runtimeActivatedPackages first

Added by Michiel Roos about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
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 #1

Updated by Gerrit Code Review about 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27391

Actions #2

Updated by Ernesto Baschny about 10 years ago

  • Parent task set to #47018
Actions #3

Updated by Michiel Roos about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Thomas Maroschik about 10 years ago

  • Assignee set to Michiel Roos
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF