Actions
Task #52463
closedDon't register destructor as shutdown function
Start date:
2013-10-02
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
PHP knows the destructor method __destruct()
since PHP 5.0 (July 2004).
In \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstanceService()
the method __destruct()
is still registered as shutdown function. This requirement prevents classes without destructor method to be registered as TYPO3 service.
This workaround for PHP 4.x can be removed since 5.2 is required for many years now.
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24277
Updated by Thorsten Kahler about 11 years ago
- Target version deleted (
4.5.30) - % Done changed from 0 to 100
No need to backport the change.
Updated by Gerrit Code Review about 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24277
Updated by Thorsten Kahler almost 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 338728811cda9d0452a8971aab11a292e3d71271.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed
Actions