Browse Source

Reports: Clear personal FL caches after taking a trump report

spaghetti 8 years ago
parent
commit
413847ada2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      sections/reportsv2/takeresolve.php

+ 1
- 0
sections/reportsv2/takeresolve.php View File

@@ -240,6 +240,7 @@ if ($DB->affected_rows() > 0 || !$Report) {
240 240
             Expired = FALSE,
241 241
             Uses = 0");
242 242
         Misc::send_pm($UserID, 0, "Torrent Deleted: ".$RawName, "A torrent you have snatched (or uploaded) has been trumped by a more recent torrent. This new torrent will be freeleech for you for the next 4 days.\r\n\r\nYou can find the new torrent [url=".site_url()."torrents.php?torrentid=$ExtraID]here[/url]");
243
+        $Cache->delete_value("users_tokens_$UserID");
243 244
       }
244 245
     }
245 246
   }

Loading…
Cancel
Save