From: Sam Reed Date: Mon, 13 Jun 2011 21:35:23 +0000 (+0000) Subject: Followup r89562, use 'feedformat' not 'feed' X-Git-Tag: 1.31.0-rc.0~29551 X-Git-Url: http://git.cyclocoop.org//%27%40script%40/%27?a=commitdiff_plain;h=f8b95820ed82ea8777defa6f5dbc28576264e601;p=lhc%2Fweb%2Fwiklou.git Followup r89562, use 'feedformat' not 'feed' --- diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index adae8b2e50..5e83b3014e 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -65,7 +65,7 @@ class ApiFeedWatchlist extends ApiBase { $this->dieUsage( 'Syndication feeds are not available', 'feed-unavailable' ); } - if( !isset( $wgFeedClasses[ $params['feed'] ] ) ) { + if( !isset( $wgFeedClasses[ $params['feedformat'] ] ) ) { $this->dieUsage( 'Invalid subscription feed type', 'feed-invalid' ); }