Task #25334

Remove global declarations inside methods

Added by Xavier Perseguers over 10 years ago. Updated about 8 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

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
#1

Updated by Ernesto Baschny over 10 years ago

  • Tracker changed from Bug to Task
  • PHP Version deleted (5.2)
#2

Updated by Xavier Perseguers over 10 years ago

  • Status changed from New to Accepted
#3

Updated by Mr. Hudson over 10 years ago

Patch set 1 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#4

Updated by Mr. Hudson over 10 years ago

Patch set 2 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#5

Updated by Mr. Hudson over 10 years ago

Patch set 3 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#6

Updated by Mr. Hudson over 10 years ago

Patch set 4 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#7

Updated by Mr. Hudson over 10 years ago

Patch set 5 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#8

Updated by Mr. Hudson over 10 years ago

Patch set 6 of change I68f801ff6934a7e16db78cb3f10d1c2b64aef351 has been pushed to the review server.
It is available at http://review.typo3.org/1446

#9

Updated by Xavier Perseguers over 10 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100
#10

Updated by Xavier Perseguers over 9 years ago

  • Status changed from Resolved to Closed
#11

Updated by Ernesto Baschny about 8 years ago

  • Target version deleted (1081)

Also available in: Atom PDF