Issue Task Closed

#96752Streamline functions returning $GLOBALS['BE_USER']

Torben Hansen 02/05/22, 11:25 updated 10/04/22, 08:35

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.

Reviews 1