Followup r83390, change cache modes

This commit is contained in:
Sam Reed 2011-03-06 18:16:44 +00:00
parent 84602bf3e1
commit 67d4ee1d26
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ class ApiQueryAllUsers extends ApiQueryBase {
}
public function getCacheMode( $params ) {
return 'public';
return 'anon-public-user-private';
}
public function getAllowedParams() {

View file

@ -251,7 +251,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
if ( isset( $params['token'] ) ) {
return 'private';
} else {
return 'public';
return 'anon-public-user-private';
}
}