Task #88660

Remove last usages of $GLOBALS[T3_VAR]

Added by Benni Mack 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Start date:
2019-07-01
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The T3_VAR legacy global variable should be removed in favor of SingletonInterface to avoid global state that needs cleanup

Associated revisions

Revision 0e7261ed (diff)
Added by Benni Mack 7 months ago

[!!!][TASK] Remove last usages of $GLOBALS[T3_VAR]

The global state array "T3_VAR" for keeping some legacy
functionality has been removed.

It is not in used by TYPO3 Core anymore, the last occurrence
for "injecting" some data into Indexed Search indexing
has been removed, as SingletonInterface, hooks and the possibility
to provide ones' own indexer for custom download extensions
should be used instead.

Resolves: #88660
Releases: master
Change-Id: I5a587271983c6bb4ae6709c0140e818c4c1eb572
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61197
Tested-by: TYPO3com <>
Tested-by: Georg Ringer <>
Tested-by: Steffen Frese <>
Tested-by: Jörg Bösche <>
Tested-by: Benni Mack <>
Reviewed-by: Georg Ringer <>
Reviewed-by: Steffen Frese <>
Reviewed-by: Jörg Bösche <>
Reviewed-by: Benni Mack <>

History

#1 Updated by Gerrit Code Review 7 months 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/c/Packages/TYPO3.CMS/+/61197

#2 Updated by Gerrit Code Review 7 months ago

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

#3 Updated by Benni Mack 7 months ago

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

#4 Updated by Benni Mack 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF