From e5db8ebf57201537b2cf6a1c773493a3bbf975e5 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Wed, 18 Jan 2006 16:17:15 +0000 Subject: [PATCH] Remove gratuitous extract( ) from getSQL -> might as well use the direct function --- includes/SpecialListredirects.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/SpecialListredirects.php b/includes/SpecialListredirects.php index a22e94dc39..c1e5ad69be 100644 --- a/includes/SpecialListredirects.php +++ b/includes/SpecialListredirects.php @@ -25,8 +25,7 @@ class ListredirectsPage extends QueryPage { function getSQL() { $dbr =& wfGetDB( DB_SLAVE ); - extract( $dbr->tableNames( 'page' ) ); - return( 'SELECT page_title AS title, page_namespace AS namespace, page_namespace AS value FROM ' . $page . ' WHERE page_is_redirect = 1' ); + return( 'SELECT page_title AS title, page_namespace AS namespace, page_namespace AS value FROM ' . $dbr->tableName( 'page' ) . ' WHERE page_is_redirect = 1' ); } function formatResult( $skin, $result ) { -- 2.20.1