summaryrefslogtreecommitdiff
path: root/includes/SpecialDeadendpages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialDeadendpages.php')
-rw-r--r--includes/SpecialDeadendpages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialDeadendpages.php b/includes/SpecialDeadendpages.php
index b319a170..4ffe5e03 100644
--- a/includes/SpecialDeadendpages.php
+++ b/includes/SpecialDeadendpages.php
@@ -43,7 +43,7 @@ class DeadendPagesPage extends PageQueryPage {
*/
function getSQL() {
$dbr =& wfGetDB( DB_SLAVE );
- extract( $dbr->tableNames( 'page', 'pagelinks' ) );
+ list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' );
return "SELECT 'Deadendpages' as type, page_namespace AS namespace, page_title as title, page_title AS value " .
"FROM $page LEFT JOIN $pagelinks ON page_id = pl_from " .
"WHERE pl_from IS NULL " .