Followup r83390, change cache modes
This commit is contained in:
parent
84602bf3e1
commit
67d4ee1d26
2 changed files with 2 additions and 2 deletions
|
|
@ -228,7 +228,7 @@ class ApiQueryAllUsers extends ApiQueryBase {
|
|||
}
|
||||
|
||||
public function getCacheMode( $params ) {
|
||||
return 'public';
|
||||
return 'anon-public-user-private';
|
||||
}
|
||||
|
||||
public function getAllowedParams() {
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
if ( isset( $params['token'] ) ) {
|
||||
return 'private';
|
||||
} else {
|
||||
return 'public';
|
||||
return 'anon-public-user-private';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue