Index: trunk/phase3/includes/ChangeTags.php |
— | — | @@ -93,10 +93,6 @@ |
94 | 94 | static function modifyDisplayQuery( &$tables, &$fields, &$conds, &$join_conds, $filter_tag = false ) { |
95 | 95 | global $wgRequest, $wgUseTagFilter; |
96 | 96 | |
97 | | - if( !$wgUseTagFilter ) { |
98 | | - return; |
99 | | - } |
100 | | - |
101 | 97 | if ($filter_tag === false) { |
102 | 98 | $filter_tag = $wgRequest->getVal( 'tagfilter' ); |
103 | 99 | } |
— | — | @@ -118,7 +114,7 @@ |
119 | 115 | $join_conds['tag_summary'] = array( 'LEFT JOIN', "ts_$join_cond=$join_cond" ); |
120 | 116 | $fields[] = 'ts_tags'; |
121 | 117 | |
122 | | - if ($filter_tag) { |
| 118 | + if ($wgUseTagFilter && $filter_tag) { |
123 | 119 | // Somebody wants to filter on a tag. |
124 | 120 | // Add an INNER JOIN on change_tag |
125 | 121 | |