From: Matthewrbowker Date: Thu, 29 Nov 2018 19:23:25 +0000 (+0000) Subject: Remove User::EDIT_TOKEN_SUFFIX, a deprecated constant since 1.27. X-Git-Tag: 1.34.0-rc.0~3311^2 X-Git-Url: http://git.cyclocoop.org/data/File:Image2.gif?a=commitdiff_plain;h=4da89d7d74bb2f8a4c4acd3cec5c114e1f5ef80a;p=lhc%2Fweb%2Fwiklou.git Remove User::EDIT_TOKEN_SUFFIX, a deprecated constant since 1.27. Bug: T61113 Change-Id: I4a461003c881b457283dc6118153e24380fccc88 --- diff --git a/RELEASE-NOTES-1.33 b/RELEASE-NOTES-1.33 index 2f8e288f2d..9c716f5f7a 100644 --- a/RELEASE-NOTES-1.33 +++ b/RELEASE-NOTES-1.33 @@ -153,6 +153,7 @@ because of Phabricator reports. * filterTimezoneInput() * getTimeZoneList() * mw.util.jsMessage(), deprecated in 1.20, was removed. Use mw.notify instead. +* (T61113) User::EDIT_TOKEN_SUFFIX was removed. It was deprecated since 1.27. === Deprecations in 1.33 === * The configuration option $wgUseESI has been deprecated, and is expected diff --git a/includes/user/User.php b/includes/user/User.php index 0e0494648b..79ccab9200 100644 --- a/includes/user/User.php +++ b/includes/user/User.php @@ -55,13 +55,6 @@ class User implements IDBAccessObject, UserIdentity { */ const INVALID_TOKEN = '*** INVALID ***'; - /** - * Global constant made accessible as class constants so that autoloader - * magic can be used. - * @deprecated since 1.27, use \MediaWiki\Session\Token::SUFFIX - */ - const EDIT_TOKEN_SUFFIX = Token::SUFFIX; - /** * @const int Serialized record version. */