Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -1115,6 +1115,11 @@ |
1116 | 1116 | # Update page fields |
1117 | 1117 | self::updateArticleOn( $article, $rev->getId(), $rev->getId() ); |
1118 | 1118 | } |
| 1119 | + # We can set the sync cache key already. |
| 1120 | + global $wgMemc, $wgParserCacheExpireTime; |
| 1121 | + $key = wfMemcKey( 'flaggedrevs', 'includesSynced', $article->getId() ); |
| 1122 | + $data = FlaggedRevs::makeMemcObj( "true" ); |
| 1123 | + $wgMemc->set( $key, $data, $wgParserCacheExpireTime ); |
1119 | 1124 | # Done! |
1120 | 1125 | $dbw->commit(); |
1121 | 1126 | |