Project

General

Profile

Actions

Task #25334

closed

Remove global declarations inside methods

Added by Xavier Perseguers about 13 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

We still find many global declarations such as

global $TCA
global $BE_USER
etc.

inside Core. This should be changed to $GLOBALS['TCA'], $GLOBALS['BE_USER'] according to our CGL.

(issue imported from #M17961)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #24954: The Big Cleanup 4.6Closed2011-04-25

Actions
Related to TYPO3 Core - Bug #26515: TCA definition is not available in upgrade wizardsClosedOliver Hader2011-04-29

Actions
Actions

Also available in: Atom PDF