[TASK] Use current request object in Maintenance middleware 02/57202/2
authorBenni Mack <benni@typo3.org>
Tue, 12 Jun 2018 12:26:59 +0000 (14:26 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 12 Jun 2018 14:01:24 +0000 (16:01 +0200)
commit782c3b47e3eab416c1f96d3a46e1c806c9a23b55
tree70e3e372de071fafb36b7afc2ca4e8fe6de02873
parentb51ce8a178d4960e189c18fec2dc0c8a12ce0558
[TASK] Use current request object in Maintenance middleware

The property `$GLOBALS['TYPO3_REQUEST']` is not needed when inside
a middleware, as the current PSR-7 request object is already available.

Resolves: #85242
Releases: master
Change-Id: Ib5062725dd74990c6a6003b6fcd8a82afb158c0b
Reviewed-on: https://review.typo3.org/57202
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Tested-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/frontend/Classes/Middleware/MaintenanceMode.php