From 9193214274889f2b7636146e72d8200e9bfaeb7b Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 4 Mar 2014 15:50:54 +0800 Subject: Bug 966180: backport bug 956233 to bmo (enable USE_MEMCACHE on most objects) --- extensions/UserProfile/Extension.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions/UserProfile/Extension.pm') diff --git a/extensions/UserProfile/Extension.pm b/extensions/UserProfile/Extension.pm index 673c0c2a1..efd83591d 100644 --- a/extensions/UserProfile/Extension.pm +++ b/extensions/UserProfile/Extension.pm @@ -45,6 +45,7 @@ sub _user_set_last_activity_ts { "UPDATE profiles SET last_activity_ts = ? WHERE userid = ?", undef, $value, $self->id); + Bugzilla->memcached->clear({ table => 'profiles', id => $self->id }); } sub _user_clear_last_statistics_ts { @@ -56,6 +57,7 @@ sub _user_clear_last_statistics_ts { "UPDATE profiles SET last_statistics_ts = NULL WHERE userid = ?", undef, $self->id); + Bugzilla->memcached->clear({ table => 'profiles', id => $self->id }); } # -- cgit v1.2.3-24-g4f1b