Deprecation: #104607 - BackendUserAuthentication:returnWebmounts()
See forge#104607
Description
Method
\TYPO3\ has
been marked as deprecated and will be removed with TYPO3 v14.
Method
Backend was
introduced as substitution. It returns a unique list of integer uids
instead of a list of strings, which is more type safe.
Superfluous calls to array_unique() can be removed since the uniqueness
is now guaranteed by BackendUserAuthentication::getWebmounts().
Impact
Calling
Backend will trigger a PHP
deprecation warning.
Affected installations
All installations using
Backend
are affected.
Migration
Existing calls to
Backend should
be replaced by
Backend.
If third party extensions convert the previous result array from an array of strings to an array of integers, this can be skipped. In addition superfluous calls to array_unique() can be removed since the uniqueness is now guaranteed by BackendUserAuthentication::getWebmounts().