Index: trunk/extensions/RSS/RSS.php |
— | — | @@ -161,17 +161,14 @@ |
162 | 162 | |
163 | 163 | # Check for errors. |
164 | 164 | if ( empty( $rss ) ) { |
165 | | - wfLoadExtensionMessages( 'RSS' ); |
166 | 165 | return wfMsg( 'rss-empty', $url ); |
167 | 166 | } |
168 | 167 | |
169 | 168 | if ( $rss->ERROR ) { |
170 | | - wfLoadExtensionMessages( 'RSS' ); |
171 | 169 | return '<div>' . wfMsg( 'rss-error', $url, $rss->ERROR ) . '</div>'; |
172 | 170 | } |
173 | 171 | |
174 | 172 | if ( !is_array( $rss->items ) ) { |
175 | | - wfLoadExtensionMessages( 'RSS' ); |
176 | 173 | return '<div>' . wfMsg( 'rss-empty', $url ) . '</div>'; |
177 | 174 | } |
178 | 175 | |