http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84698
Revision: 84698
Author: reedy
Date: 2011-03-24 20:02:41 +0000 (Thu, 24 Mar 2011)
Log Message:
-----------
Remove 2 erroneous $db parameters from External links modules
Modified Paths:
--------------
trunk/phase3/includes/api/ApiQueryExtLinksUsage.php
trunk/phase3/includes/api/ApiQueryExternalLinks.php
Modified: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryExtLinksUsage.php 2011-03-24 20:02:22 UTC
(rev 84697)
+++ trunk/phase3/includes/api/ApiQueryExtLinksUsage.php 2011-03-24 20:02:41 UTC
(rev 84698)
@@ -73,7 +73,7 @@
$this->addWhereFld( 'page_namespace',
$params['namespace'] );
}
- $whereQuery = $this->prepareUrlQuerySearchString( $db, $query,
$protocol );
+ $whereQuery = $this->prepareUrlQuerySearchString( $query,
$protocol );
if ( $whereQuery !== null ) {
$this->addWhere( $whereQuery );
Modified: trunk/phase3/includes/api/ApiQueryExternalLinks.php
===================================================================
--- trunk/phase3/includes/api/ApiQueryExternalLinks.php 2011-03-24 20:02:22 UTC
(rev 84697)
+++ trunk/phase3/includes/api/ApiQueryExternalLinks.php 2011-03-24 20:02:41 UTC
(rev 84698)
@@ -59,7 +59,7 @@
$this->addTables( 'externallinks' );
$this->addWhereFld( 'el_from', array_keys(
$this->getPageSet()->getGoodTitles() ) );
- $whereQuery = $this->prepareUrlQuerySearchString( $db, $query,
$protocol );
+ $whereQuery = $this->prepareUrlQuerySearchString( $query,
$protocol );
if ( $whereQuery !== null ) {
$this->addWhere( $whereQuery );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs