Commit 62513dbb authored by Committed by Susanne MoogBrowse files
[TASK] Cleanup DataHandler (again)
The following changes were made: 1. enableLogging is now only checked within the log methods (if no extra CPU / DB requests were made in the if statements). 2. Introduce a getter for $GLOBALS['LANG'] instead of using the hard-coded object (and using IF statements, although the comment on top of the PHP class states that LanguageService MUST be initialized). 3. Simplify switch-cases / nested-if statement to a regular IF condition 4. Use Logger API instead of plain debug() calls Resolves: #82769 Releases: master Change-Id: Icd74057ac64ec8fc219c55b7996f766020fd5ad8 Reviewed-on: https://review.typo3.org/54401 Tested-by: TYPO3com <email@example.com> Reviewed-by: Christian Kuhn <firstname.lastname@example.org> Tested-by: Christian Kuhn <email@example.com> Reviewed-by: Susanne Moog <firstname.lastname@example.org> Tested-by: Susanne Moog <email@example.com>
This diff is collapsed.