* (bug 28963) add langbacklinks module to api
[lhc/web/wiklou.git] / includes / api / ApiQueryExtLinksUsage.php
index 089d99f..1a74394 100644 (file)
@@ -60,7 +60,6 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase {
                $query = $params['query'];
                $protocol = self::getProtocolPrefix( $params['protocol'] );
 
-               $db = $this->getDB();
                $this->addTables( array( 'page', 'externallinks' ) );   // must be in this order for 'USE INDEX'
                $this->addOption( 'USE INDEX', 'el_index' );
                $this->addWhere( 'page_id=el_from' );