madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r12466: LJSUP-13312: Delete memcache keys for wi...

Committer: sbelyaev
LJSUP-13312: Delete memcache keys for widget on main page
U   trunk/cgi-bin/LJ/Pay/Payment/PayItem/VGift.pm
Modified: trunk/cgi-bin/LJ/Pay/Payment/PayItem/VGift.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/Payment/PayItem/VGift.pm	2012-08-15 09:32:15 UTC (rev 12465)
+++ trunk/cgi-bin/LJ/Pay/Payment/PayItem/VGift.pm	2012-08-15 11:22:00 UTC (rev 12466)
@@ -94,6 +94,9 @@
 sub _deliver_item {
     my ($self, $payment, $buyer_u, $rcpt_u, $note_rec_change) = @_;
 
+    my $cache_update_for_user = "update_for_users:" . $rcpt_u->userid;
+    LJ::MemCache::delete($cache_update_for_user);
+
     LJ::run_hooks("social_influence",
                     {
                         'u'                => $buyer_u,

Tags: ljcom, madeon, pm, sbelyaev
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments