aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ChangesFeed.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ChangesFeed.php')
-rw-r--r--includes/ChangesFeed.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/ChangesFeed.php b/includes/ChangesFeed.php
index fa2188e5f668..ba3bfd6f23fa 100644
--- a/includes/ChangesFeed.php
+++ b/includes/ChangesFeed.php
@@ -51,13 +51,13 @@ class ChangesFeed {
* @param $rows ResultWrapper object with rows in recentchanges table
* @param $lastmod Integer: timestamp of the last item in the recentchanges table (only used for the cache key)
* @param $opts FormOptions as in SpecialRecentChanges::getDefaultOptions()
- * @return null or true
+ * @return null|bool True or null
*/
public function execute( $feed, $rows, $lastmod, $opts ) {
global $wgLang, $wgRenderHashAppend;
if ( !FeedUtils::checkFeedOutput( $this->format ) ) {
- return;
+ return null;
}
$optionsHash = md5( serialize( $opts->getAllValues() ) ) . $wgRenderHashAppend;