aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ChangesFeed.php
diff options
context:
space:
mode:
authorSam Reed <reedy@users.mediawiki.org>2011-05-21 19:35:16 +0000
committerSam Reed <reedy@users.mediawiki.org>2011-05-21 19:35:16 +0000
commite514478ba52bbae35955dc9b23e9a015aa86cdaf (patch)
tree1219bbced11bda8cf0d48d8dd1558c657045b34b /includes/ChangesFeed.php
parentc6686ca6bd0057dc3793a0b57d563e06d770f288 (diff)
downloadmediawikicore-e514478ba52bbae35955dc9b23e9a015aa86cdaf.tar.gz
mediawikicore-e514478ba52bbae35955dc9b23e9a015aa86cdaf.zip
Fix function level comments that start with /* not /**
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/88536
Diffstat (limited to 'includes/ChangesFeed.php')
-rw-r--r--includes/ChangesFeed.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/includes/ChangesFeed.php b/includes/ChangesFeed.php
index 23fb92392182..49ee33ce03b9 100644
--- a/includes/ChangesFeed.php
+++ b/includes/ChangesFeed.php
@@ -61,11 +61,11 @@ class ChangesFeed {
FeedUtils::checkPurge( $timekey, $key );
- /*
- * Bumping around loading up diffs can be pretty slow, so where
- * possible we want to cache the feed output so the next visitor
- * gets it quick too.
- */
+ /**
+ * Bumping around loading up diffs can be pretty slow, so where
+ * possible we want to cache the feed output so the next visitor
+ * gets it quick too.
+ */
$cachedFeed = $this->loadFromCache( $lastmod, $timekey, $key );
if( is_string( $cachedFeed ) ) {
wfDebug( "RC: Outputting cached feed\n" );
@@ -110,12 +110,12 @@ class ChangesFeed {
$feedLastmod = $messageMemc->get( $timekey );
if( ( $wgFeedCacheTimeout > 0 ) && $feedLastmod ) {
- /*
- * If the cached feed was rendered very recently, we may
- * go ahead and use it even if there have been edits made
- * since it was rendered. This keeps a swarm of requests
- * from being too bad on a super-frequently edited wiki.
- */
+ /**
+ * If the cached feed was rendered very recently, we may
+ * go ahead and use it even if there have been edits made
+ * since it was rendered. This keeps a swarm of requests
+ * from being too bad on a super-frequently edited wiki.
+ */
$feedAge = time() - wfTimestamp( TS_UNIX, $feedLastmod );
$feedLastmodUnix = wfTimestamp( TS_UNIX, $feedLastmod );