No magic variables are used after this extract call. All done $defaults['blah']....
authorSam Reed <reedy@users.mediawiki.org>
Thu, 30 Dec 2010 02:56:36 +0000 (02:56 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Thu, 30 Dec 2010 02:56:36 +0000 (02:56 +0000)
includes/specials/SpecialWatchlist.php

index b64af98..757671e 100644 (file)
@@ -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' ) );