(bug 22310) Only need to declare $join_conds once
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 29 Jan 2010 02:37:51 +0000 (02:37 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 29 Jan 2010 02:37:51 +0000 (02:37 +0000)
includes/specials/SpecialRecentchanges.php

index 3206823..1f4bb7c 100644 (file)
@@ -278,8 +278,6 @@ class SpecialRecentChanges extends SpecialPage {
                $namespace = $opts['namespace'];
                $invert = $opts['invert'];
 
-               $join_conds = array();
-
                // JOIN on watchlist for users
                if( $uid ) {
                        $tables[] = 'watchlist';