arteman (arteman) wrote in changelog,
arteman
arteman
changelog

[livejournal] r23511: LJSV-1539: Some Subscription Tracking su...

Committer: azateev
LJSV-1539: Some Subscription Tracking subscriptions will not save state changes on Inbox
U   trunk/cgi-bin/LJ/Subscription/GroupSet.pm
Modified: trunk/cgi-bin/LJ/Subscription/GroupSet.pm
===================================================================
--- trunk/cgi-bin/LJ/Subscription/GroupSet.pm	2012-12-26 15:07:35 UTC (rev 23510)
+++ trunk/cgi-bin/LJ/Subscription/GroupSet.pm	2012-12-28 07:38:10 UTC (rev 23511)
@@ -482,6 +482,8 @@
     my ($sets, @binds) = $self->_db_collect_sets_binds($sub, ['flags']);
 
     $self->_dbh->do("UPDATE subs SET $sets WHERE userid=? AND subid=?", undef, @binds, $self->user->id, $subid);
+
+    LJ::Subscription->invalidate_cache($self->user);
 }
 
 sub _db_drop_sub {

Tags: arteman, azateev, livejournal, 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