#91824Deprecation of BackendUserAuthentication modAccess() function inconsistent
Description
Deprecation in TYPO3 9 states:
> The second argument of method modAccess() has been marked as deprecated, as the method should not trigger runtime exceptions anymore.
So, it says the function should not trigger runtime messages but since TYPO3 10.4 that is the default behaviour: to trigger the exceptions (without the parameter which is now removed).
In 9, it is not possible to get this behaviour (throws an exception) without triggering a deprecation.
Also, I am not sure if the phpdoc comment is consistent with the code. (in master):
> Will return FALSE if the module name is not even found in $TBE_MODULES
If not isModuleSetInTBE_MODULES(), the function will throw an exception as well.
>
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.