Drop lastRequestURI and lastRequestMethod
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 14 Oct 2020 12:10:41 +0000 (14:10 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 15 Oct 2020 14:14:13 +0000 (16:14 +0200)
They do not appear to be in use and neither are they documented in
property-read of the class documentation.

wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index 2868bcd7817e1ff5a6e533b9e866ce563f9a7f80..30381b5629dc87a7bd9d0c5b0168b0af753c162d 100644 (file)
@@ -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(),