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/ContributorEngagement/Extension.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extensions/ContributorEngagement') diff --git a/extensions/ContributorEngagement/Extension.pm b/extensions/ContributorEngagement/Extension.pm index 0e86eb4ca..aa8804034 100644 --- a/extensions/ContributorEngagement/Extension.pm +++ b/extensions/ContributorEngagement/Extension.pm @@ -39,6 +39,7 @@ sub install_update_db { _populate_first_reviewed_ids(); } } + sub _populate_first_reviewed_ids { my $dbh = Bugzilla->dbh; @@ -96,6 +97,7 @@ sub flag_end_of_update { Bugzilla->dbh->do("UPDATE profiles SET first_patch_reviewed_id = ? WHERE userid = ?", undef, $attachment->id, $attachment->attacher->id); + Bugzilla->memcached->clear({ table => 'profiles', id => $$attachment->attacher->id }); last; } } -- cgit v1.2.3-24-g4f1b