summaryrefslogtreecommitdiff
path: root/includes/SpecialDoubleRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialDoubleRedirects.php')
-rw-r--r--includes/SpecialDoubleRedirects.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialDoubleRedirects.php b/includes/SpecialDoubleRedirects.php
index fe42b00a..cf1153ea 100644
--- a/includes/SpecialDoubleRedirects.php
+++ b/includes/SpecialDoubleRedirects.php
@@ -26,7 +26,7 @@ class DoubleRedirectsPage extends PageQueryPage {
function getSQLText( &$dbr, $namespace = null, $title = null ) {
- extract( $dbr->tableNames( 'page', 'pagelinks' ) );
+ list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' );
$limitToTitle = !( $namespace === null && $title === null );
$sql = $limitToTitle ? "SELECT" : "SELECT 'DoubleRedirects' as type," ;