aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiCheckToken.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2022-06-06 02:24:41 +0100
committerReedy <reedy@wikimedia.org>2022-06-06 02:24:41 +0100
commitf45fefec0eb8bfbaf26e40ab33c6e476a710772f (patch)
treeb236dafff72228ded102a2e405dcaf7f890fe46b /includes/api/ApiCheckToken.php
parent8bc27513e32ae809a00b6764b85da90903092740 (diff)
downloadmediawikicore-f45fefec0eb8bfbaf26e40ab33c6e476a710772f.tar.gz
mediawikicore-f45fefec0eb8bfbaf26e40ab33c6e476a710772f.zip
api: Replace numerous more deprecated constants
Change-Id: I498a315b8b4b56d5e2f939e797adbe0487cd7d07
Diffstat (limited to 'includes/api/ApiCheckToken.php')
-rw-r--r--includes/api/ApiCheckToken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiCheckToken.php b/includes/api/ApiCheckToken.php
index bb7a3b682968..4a40eac0e6af 100644
--- a/includes/api/ApiCheckToken.php
+++ b/includes/api/ApiCheckToken.php
@@ -72,7 +72,7 @@ class ApiCheckToken extends ApiBase {
'token' => [
ParamValidator::PARAM_TYPE => 'string',
ParamValidator::PARAM_REQUIRED => true,
- ApiBase::PARAM_SENSITIVE => true,
+ ParamValidator::PARAM_SENSITIVE => true,
],
'maxtokenage' => [
ParamValidator::PARAM_TYPE => 'integer',