[TASK] Streamline BE User Initialization with TYPO3_OS 33/37233/2
authorBenjamin Mack <benni@typo3.org>
Wed, 25 Feb 2015 16:40:29 +0000 (17:40 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Wed, 25 Feb 2015 17:14:05 +0000 (18:14 +0100)
commit25c99710499a4e69c6cfbc7dedcf7b4b09637907
tree69c6ffe0f51d952586c6c3bfdc50081d260dfa87
parentef08866637b18943e86d21eabbc1f67dd584bb76
[TASK] Streamline BE User Initialization with TYPO3_OS

The BE User initialization in the core uses the TYPO3_OS
constant in various places. The initialization can be
done in the constructor directly. Also, the property
itself ($BE_USER->OS) is not in use directly by the core
and it is encouraged to use the constant directly. The
property is therefore marked for deprecation.

Releases: master
Resolves: #65343
Change-Id: I527f871bab419274c5a712a6a146d978be13d5cf
Reviewed-on: http://review.typo3.org/37233
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Documentation/Changelog/master/Deprecation-65343-BackendUserOsProperty.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/setup/Classes/Controller/SetupModuleController.php
typo3/sysext/version/Classes/Hook/PreviewHook.php