From: Alexandre Emsenhuber Date: Tue, 31 Jan 2012 10:22:17 +0000 (+0000) Subject: Added missing __METHOD__ parameter to DatabaseBase::selectField() calls in ExternalSt... X-Git-Tag: 1.31.0-rc.0~24994 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=312e0aacb6bb47ae4efa451f3be28b803d866df9;p=lhc%2Fweb%2Fwiklou.git Added missing __METHOD__ parameter to DatabaseBase::selectField() calls in ExternalStoreDB --- diff --git a/includes/ExternalStoreDB.php b/includes/ExternalStoreDB.php index fee49f26cd..4920a91ce3 100644 --- a/includes/ExternalStoreDB.php +++ b/includes/ExternalStoreDB.php @@ -120,12 +120,12 @@ class ExternalStoreDB { wfDebug( "ExternalStoreDB::fetchBlob cache miss on $cacheID\n" ); $dbr =& $this->getSlave( $cluster ); - $ret = $dbr->selectField( $this->getTable( $dbr ), 'blob_text', array( 'blob_id' => $id ) ); + $ret = $dbr->selectField( $this->getTable( $dbr ), 'blob_text', array( 'blob_id' => $id ), __METHOD__ ); if ( $ret === false ) { wfDebugLog( 'ExternalStoreDB', "ExternalStoreDB::fetchBlob master fallback on $cacheID\n" ); // Try the master $dbw =& $this->getMaster( $cluster ); - $ret = $dbw->selectField( $this->getTable( $dbw ), 'blob_text', array( 'blob_id' => $id ) ); + $ret = $dbw->selectField( $this->getTable( $dbw ), 'blob_text', array( 'blob_id' => $id ), __METHOD__ ); if( $ret === false) { wfDebugLog( 'ExternalStoreDB', "ExternalStoreDB::fetchBlob master failed to find $cacheID\n" ); }