aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiFeedWatchlist.php
diff options
context:
space:
mode:
authorYuri Astrakhan <yuriastrakhan@gmail.com>2013-01-12 01:50:48 -0500
committerYuri Astrakhan <yuriastrakhan@gmail.com>2013-01-12 01:50:48 -0500
commit32fd68f81c2b7ff2477ca7cd885281ccb8f3d4d5 (patch)
tree0e6ff56699eae423964a63e925bd4716c2d232b1 /includes/api/ApiFeedWatchlist.php
parente478e48810b1274ce1c495ed080a750f1ae87164 (diff)
downloadmediawikicore-32fd68f81c2b7ff2477ca7cd885281ccb8f3d4d5.tar.gz
mediawikicore-32fd68f81c2b7ff2477ca7cd885281ccb8f3d4d5.zip
Minor cleanup
Fixed spacing, eol chars, "string" --> 'string' Change-Id: I630247c6c5b469efb67ec9de32e8533ae88e59fb
Diffstat (limited to 'includes/api/ApiFeedWatchlist.php')
-rw-r--r--includes/api/ApiFeedWatchlist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php
index 6ccb02fe4489..373abdb99bf9 100644
--- a/includes/api/ApiFeedWatchlist.php
+++ b/includes/api/ApiFeedWatchlist.php
@@ -62,7 +62,7 @@ class ApiFeedWatchlist extends ApiBase {
$this->dieUsage( 'Syndication feeds are not available', 'feed-unavailable' );
}
- if( !isset( $wgFeedClasses[ $params['feedformat'] ] ) ) {
+ if( !isset( $wgFeedClasses[$params['feedformat']] ) ) {
$this->dieUsage( 'Invalid subscription feed type', 'feed-invalid' );
}
if ( !is_null( $params['wlexcludeuser'] ) ) {