Deprecation: #84984 - Protected user TSconfig properties in BackendUserAuthentication¶
See forge#84984
Description¶
The following properties of class \TYPO3\
have been set to protected:
->user
: use methodTS ->get
insteadTSConfig () ->user
: Class internal propertyTSUpdated ->user
: Class internal propertyTS_ text ->TSdata
: Class internal propertyArray ->user
: Will be removed in v10 without substitutionTS_ dont Get Cached
From the above list, property ->user
is the most likely one to be used by extensions.
As a substitution, the full parsed user TSconfig data array can be retrieved calling method get
.
Impact¶
The properties are still accessible in v9 from outside of the class but will trigger a PHP E_
error if used.
Affected Installations¶
Instances with extensions that add backend modules which can be configured via user TSconfig may be affected by this change. The extension scanner should find possible usages in extensions.
Migration¶
Use ->get
instead of ->user
.
Do not use the properties marked as internal above.
Remove usage of user
and configure the UserTSconfig cache via the caching
framework's configuration instead.