Stop adding the `isDefaultController` value to `$routeData` in RequestHandler
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 23 Jun 2022 15:00:26 +0000 (17:00 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 23 Jun 2022 15:00:26 +0000 (17:00 +0200)
commit84651e761d51b1031c046cdbdba3d536e9fb3d05
tree1e06bc6eb1833e8775da5e665bb1701a94653db5
parentdbf1729c79b3f19eacd0b915a4522c3e60b5aa02
Stop adding the `isDefaultController` value to `$routeData` in RequestHandler

The `$routeData` array is only processed locally, except when it is passed to
LinkHandler for renamed controllers (which can't happen for default
controllers), thus this is completely redundant with simply checking
`->isDefaultController()` in the other places, with the latter being much more
clear, because one does not need to think about where the `$routeData` might
end up.
wcfsetup/install/files/lib/system/request/RequestHandler.class.php