VE-2064: There is no need to "alias" that variable

This commit is contained in:
Inez Korczynski 2015-11-23 19:55:03 +00:00
parent 6e54a6d3a2
commit 98cdff0851

View file

@ -1,10 +1,9 @@
<?php
class PortableInfoboxQueryService {
const CACHE_TTL = WikiaResponse::CACHE_STANDARD;
const MCACHE_KEY = 'unconvertedinfoboxes-list';
public static function getNonPortableInfoboxes() {
$data = WikiaDataAccess::cache( wfMemcKey( self::MCACHE_KEY ), self::CACHE_TTL, function () {
$data = WikiaDataAccess::cache( wfMemcKey( self::MCACHE_KEY ), WikiaResponse::CACHE_STANDARD, function () {
$dbr = wfGetDB( DB_SLAVE );
return ( new WikiaSQL() )
->SELECT( 'qc_value', 'qc_namespace', 'qc_title' )