Project

General

Profile

Actions

Task #96752

closed

Streamline functions returning $GLOBALS['BE_USER']

Added by Torben Hansen over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2022-02-05
Due date:
% Done:

100%

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

Description

In TYPO3 core there are the functions getBackendUser() and in some cases getBackendUserAuthentication() which return $GLOBALS['BE_USER']. Some of those functions use a PHP return type and others do not. Some have a doc comment block, others do not. In some rare cases, getBackendUser() gets overridden in subclasses with exactly the same functionality.

Actions

Also available in: Atom PDF