Project

General

Profile

Actions

Task #59004

closed

Code Cleanups in TranslationConfigurationProvider

Added by Sebastian Michaelsen over 10 years ago. Updated about 6 years ago.

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

100%

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

Description

\TYPO3\CMS\Backend\Configuration\TranslationConfigurationProvider could use a few cleanups:

  • Introduce type hinted $this->databaseConnection instead of using $GLOBALS['TYPO3_DB']
  • Use type hinted local variable instead of $GLOBALS['LANG']
  • Deprecate $backPath parameter of ->getSystemLanguages and adapt the method calls
  • Break very long lines of code into smaller chunks
  • Fix phpDoc issue

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #79062: Filelist allows metadata translation for disabled languagesRejected2016-12-21

Actions
Related to TYPO3 Core - Bug #59947: getSystemLanguages() method in TranslationConfigurationProvider does not respect enable fieldsClosed2014-06-27

Actions
Actions

Also available in: Atom PDF