mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
VE-2064: There is no need to "alias" that variable
This commit is contained in:
parent
6e54a6d3a2
commit
98cdff0851
|
@ -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' )
|
||||
|
|
Loading…
Reference in a new issue