diff options
author | Byron Jones <bjones@mozilla.com> | 2014-03-04 08:50:54 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2014-03-04 08:50:54 +0100 |
commit | 9193214274889f2b7636146e72d8200e9bfaeb7b (patch) | |
tree | e570cc86aa8df53dd0e7e9d902d88450c5dc25c7 /extensions/ContributorEngagement | |
parent | 75eaf0d6c8ecf764d73cb870e504e84826d44751 (diff) | |
download | bugzilla-9193214274889f2b7636146e72d8200e9bfaeb7b.tar.gz bugzilla-9193214274889f2b7636146e72d8200e9bfaeb7b.tar.xz |
Bug 966180: backport bug 956233 to bmo (enable USE_MEMCACHE on most objects)
Diffstat (limited to 'extensions/ContributorEngagement')
-rw-r--r-- | extensions/ContributorEngagement/Extension.pm | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |