Project

General

Profile

Actions

Task #38131

closed

Remove require statements for classes

Added by Benni Mack over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2012-06-21
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Since the autoloader is in place, the require statements for all classes (including template.php) is not necessary. This patch adds the core classes to the autoloader file, and removes all unnecessary require statements.

This change also brings modification with that moves the initialization of $GLOBALS['TBE_TEMPLATE'] from template.php into init.php. This means that TBE_TEMPLATE is always available in the backend now.

One further modification could be to remove the SOBE->include array and calls, as this can be done with the autoloader as well.


Subtasks 1 (0 open1 closed)

Task #38269: Template should be moved to Bootstrap methodClosed2012-06-21

Actions

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #38293: Missing class definitions in core autoloaderClosed2012-06-22

Actions
Actions #1

Updated by Gerrit Code Review over 12 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142

Actions #2

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142

Actions #3

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142

Actions #4

Updated by Gerrit Code Review over 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142

Actions #5

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12273

Actions #6

Updated by Steffen Ritter over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
  • Estimated time set to 0.00 h
Actions #7

Updated by Steffen Ritter over 12 years ago

  • Estimated time deleted (0.00 h)
Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF