From 9c80325dae4ba208a4038383909f6d16bd53024c Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 30 Dec 2010 02:56:36 +0000 Subject: [PATCH] No magic variables are used after this extract call. All done $defaults['blah']. Hence remove extract call --- includes/specials/SpecialWatchlist.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index b64af98431..757671ebba 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -98,8 +98,6 @@ function wfSpecialWatchlist( $par ) { /* ? */ 'invert' => false, ); - extract($defaults); - # Extract variables from the request, falling back to user preferences or # other default values if these don't exist $prefs['days'] = floatval( $wgUser->getOption( 'watchlistdays' ) ); -- 2.20.1