summaryrefslogtreecommitdiff
path: root/includes/SpecialBrokenRedirects.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialBrokenRedirects.php')
-rw-r--r--includes/SpecialBrokenRedirects.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialBrokenRedirects.php b/includes/SpecialBrokenRedirects.php
index 653e13e2..50935654 100644
--- a/includes/SpecialBrokenRedirects.php
+++ b/includes/SpecialBrokenRedirects.php
@@ -27,7 +27,7 @@ class BrokenRedirectsPage extends PageQueryPage {
function getSQL() {
$dbr =& wfGetDB( DB_SLAVE );
- extract( $dbr->tableNames( 'page', 'pagelinks' ) );
+ list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' );
$sql = "SELECT 'BrokenRedirects' AS type,
p1.page_namespace AS namespace,