summaryrefslogtreecommitdiff
path: root/includes/SpecialLonelypages.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialLonelypages.php')
-rw-r--r--includes/SpecialLonelypages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/SpecialLonelypages.php b/includes/SpecialLonelypages.php
index 15022924..8770a9e7 100644
--- a/includes/SpecialLonelypages.php
+++ b/includes/SpecialLonelypages.php
@@ -30,7 +30,7 @@ class LonelyPagesPage extends PageQueryPage {
function getSQL() {
$dbr =& wfGetDB( DB_SLAVE );
- extract( $dbr->tableNames( 'page', 'pagelinks' ) );
+ list( $page, $pagelinks ) = $dbr->tableNamesN( 'page', 'pagelinks' );
return
"SELECT 'Lonelypages' AS type,