Remove legacy SID_* constants
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 5 Oct 2020 09:39:10 +0000 (11:39 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 15 Oct 2020 14:13:52 +0000 (16:13 +0200)
wcfsetup/install/files/lib/system/session/SessionHandler.class.php

index 49369e40eb16de2c726b4e0dde3c8f35633b9f95..b6dd40b11063ca87dce8bb564edb5621188d92af 100644 (file)
@@ -287,13 +287,6 @@ final class SessionHandler extends SingletonFactory {
         * Defines global wcf constants related to session.
         */
        protected function defineConstants() {
-               /* the SID*-constants below are deprecated since 3.0 */
-               if (!defined('SID_ARG_1ST')) define('SID_ARG_1ST', '');
-               if (!defined('SID_ARG_2ND')) define('SID_ARG_2ND', '');
-               if (!defined('SID_ARG_2ND_NOT_ENCODED')) define('SID_ARG_2ND_NOT_ENCODED', '');
-               if (!defined('SID')) define('SID', '');
-               if (!defined('SID_INPUT_TAG')) define('SID_INPUT_TAG', '');
-               
                // security token
                if (!defined('SECURITY_TOKEN')) define('SECURITY_TOKEN', $this->getSecurityToken());
                if (!defined('SECURITY_TOKEN_INPUT_TAG')) define('SECURITY_TOKEN_INPUT_TAG', '<input type="hidden" name="t" value="'.$this->getSecurityToken().'">');