From: Tim Düsterhus Date: Wed, 14 Oct 2020 12:10:41 +0000 (+0200) Subject: Drop lastRequestURI and lastRequestMethod X-Git-Tag: 5.4.0_Alpha_1~724^2~10^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8d18bc5cccf27f615f1b4ca2f5f6b06b30b1841;p=GitHub%2FWoltLab%2FWCF.git Drop lastRequestURI and lastRequestMethod They do not appear to be in use and neither are they documented in property-read of the class documentation. --- diff --git a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php index 2868bcd781..30381b5629 100644 --- a/wcfsetup/install/files/lib/system/session/SessionHandler.class.php +++ b/wcfsetup/install/files/lib/system/session/SessionHandler.class.php @@ -278,9 +278,6 @@ final class SessionHandler extends SingletonFactory { */ protected function initEnvironment() { $this->environment = [ - // TODO: - // 'lastRequestURI' => $this->session->requestURI, - // 'lastRequestMethod' => $this->session->requestMethod, 'ipAddress' => UserUtil::getIpAddress(), 'userAgent' => UserUtil::getUserAgent(), 'requestURI' => UserUtil::getRequestURI(),