From: Sam Reed Date: Thu, 30 Dec 2010 02:56:36 +0000 (+0000) Subject: No magic variables are used after this extract call. All done $defaults['blah'].... X-Git-Tag: 1.31.0-rc.0~32989 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=9c80325dae4ba208a4038383909f6d16bd53024c;p=lhc%2Fweb%2Fwiklou.git No magic variables are used after this extract call. All done $defaults['blah']. Hence remove extract call --- 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' ) );