журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12834: LJSUP-13931: Implement interaction with ...

Committer: nnikulochkina
LJSUP-13931: Implement interaction with rating system
U   trunk/cgi-bin/LJ/Pay/SelfPromo.pm
Modified: trunk/cgi-bin/LJ/Pay/SelfPromo.pm
===================================================================
--- trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-10-26 12:35:20 UTC (rev 12833)
+++ trunk/cgi-bin/LJ/Pay/SelfPromo.pm	2012-10-26 12:48:30 UTC (rev 12834)
@@ -1158,6 +1158,14 @@
     $class->SUPER::raise_error($code, %args);
 }
 
+sub clear_memcache {
+    my ( $class, $slot ) = @_;
+    
+    if ($slot->region() eq 'cyr' && $slot->type() eq 'entry') {
+        LJ::MemCacheProxy::delete('rating.posts.top25.journalids.cyr.visitors.sp.cp');
+    }
+}
+
 1;
 
 __END__

Tags: ljcom, nikulochkina, nnikulochkina, pm
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