Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • typo3 typo3
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Insights
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • typo3typo3
  • Repository
Switch branch/tag
  • typo3
  • typo3
  • sysext
  • install
  • Classes
  • Report
  • SecurityStatusReport.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [TASK] Use shorthand syntax for global variable $LANG consistently · 1d088f92
    Benni Mack authored Jan 29, 2019 and Andreas Wolf's avatar Andreas Wolf committed Feb 01, 2019
    TYPO3 uses $GLOBALS['LANG'] directly in some places, but since
    TYPO3 v7, new code started to use a short hand protected method
    "getLanguageService" in order to get IDE code completion and better
    analysis of code.
    
    This patch replaces all left-over places of $GLOBALS['LANG']
    and encapsulates this into a short-hand method to streamline
    TYPO3 Core's code base.
    
    Resolves: #87571
    Releases: master
    Change-Id: Ie15e320713fe65d40552a19e0a517d5739abbb41
    Reviewed-on: https://review.typo3.org/59578
    
    
    Tested-by: default avatarTYPO3com <noreply@typo3.com>
    Reviewed-by: Mona Muzaffar's avatarMona Muzaffar <mona.muzaffar@gmx.de>
    Tested-by: Mona Muzaffar's avatarMona Muzaffar <mona.muzaffar@gmx.de>
    Reviewed-by: Andreas Wolf's avatarAndreas Wolf <andreas.wolf@typo3.org>
    Reviewed-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    Tested-by: Frank Nägler's avatarFrank Naegler <frank.naegler@typo3.org>
    Tested-by: Andreas Wolf's avatarAndreas Wolf <andreas.wolf@typo3.org>
    1d088f92