Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -1027,10 +1027,11 @@ |
1028 | 1028 | $changeList += $imgChanges; |
1029 | 1029 | |
1030 | 1030 | # Some important information... |
1031 | | - if( !empty($changeList) ) { |
| 1031 | + $notice = ''; |
| 1032 | + if( count($changeList) > 0 ) { |
1032 | 1033 | $notice = '<br/>' . wfMsgExt('revreview-update-use', array('parseinline')); |
1033 | | - } else { |
1034 | | - $notice = ""; |
| 1034 | + } else if( !$synced ) { |
| 1035 | + $wgMemc->delete($key); // bad key, said they were not synced |
1035 | 1036 | } |
1036 | 1037 | |
1037 | 1038 | # If the user is allowed to review, prompt them! |