Index: trunk/phase3/includes/api/ApiQueryExtLinksUsage.php |
— | — | @@ -73,7 +73,7 @@ |
74 | 74 | $this->addWhereFld( 'page_namespace', $params['namespace'] ); |
75 | 75 | } |
76 | 76 | |
77 | | - $whereQuery = $this->prepareUrlQuerySearchString( $db, $query, $protocol ); |
| 77 | + $whereQuery = $this->prepareUrlQuerySearchString( $query, $protocol ); |
78 | 78 | |
79 | 79 | if ( $whereQuery !== null ) { |
80 | 80 | $this->addWhere( $whereQuery ); |
Index: trunk/phase3/includes/api/ApiQueryExternalLinks.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | $this->addTables( 'externallinks' ); |
61 | 61 | $this->addWhereFld( 'el_from', array_keys( $this->getPageSet()->getGoodTitles() ) ); |
62 | 62 | |
63 | | - $whereQuery = $this->prepareUrlQuerySearchString( $db, $query, $protocol ); |
| 63 | + $whereQuery = $this->prepareUrlQuerySearchString( $query, $protocol ); |
64 | 64 | |
65 | 65 | if ( $whereQuery !== null ) { |
66 | 66 | $this->addWhere( $whereQuery ); |