Merge "Avoid not caching meta=filerepoinfo calls for logged in users"

This commit is contained in:
jenkins-bot 2015-05-28 00:00:41 +00:00 committed by Gerrit Code Review
commit 767b736dc1

View file

@ -43,7 +43,8 @@
return this.getCachedPromise( '*', function () { return this.getCachedPromise( '*', function () {
return provider.apiGetWithMaxAge( { return provider.apiGetWithMaxAge( {
action: 'query', action: 'query',
meta: 'filerepoinfo' meta: 'filerepoinfo',
uselang: 'content'
} ).then( function ( data ) { } ).then( function ( data ) {
return provider.getQueryField( 'repos', data ); return provider.getQueryField( 'repos', data );
} ).then( function ( reposArray ) { } ).then( function ( reposArray ) {