X-Git-Url: https://git.cyclocoop.org/%20%27.%28%24debut%20%20%20%24par_page%29.%27?a=blobdiff_plain;f=includes%2Fuser%2FUser.php;h=981204d6471ce4c601adb33253b280fe56f6ee63;hb=7f2f49ad2368ae27f2d4db69b44c5f997197725e;hp=5b073158d32434703b8bb867e5d4e22f24e99a57;hpb=06aaf493e12f998784c7c9294e8533d979623308;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/User.php b/includes/user/User.php index 5b073158d3..981204d647 100644 --- a/includes/user/User.php +++ b/includes/user/User.php @@ -46,18 +46,20 @@ use Wikimedia\Rdbms\IDatabase; * of the database. */ class User implements IDBAccessObject, UserIdentity { + /** - * @const int Number of characters in user_token field. + * Number of characters required for the user_token field. */ const TOKEN_LENGTH = 32; /** - * @const string An invalid value for user_token + * An invalid string value for the user_token field. */ const INVALID_TOKEN = '*** INVALID ***'; /** - * @const int Serialized record version. + * Version number to tag cached versions of serialized User objects. Should be increased when + * {@link $mCacheVars} or one of it's members changes. */ const VERSION = 13;