diff options
author | Byron Jones <glob@mozilla.com> | 2014-05-12 07:11:59 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-05-12 07:11:59 +0200 |
commit | 8243604780d562f47af41b9e9b2f78b00d29f424 (patch) | |
tree | ebe400dcbabaae82d4a43fa27a2285162e8147bd /Bugzilla/Product.pm | |
parent | ffaf79a2bcf3a37f81b8f35befd9f535e4bbb451 (diff) | |
download | bugzilla-8243604780d562f47af41b9e9b2f78b00d29f424.tar.gz bugzilla-8243604780d562f47af41b9e9b2f78b00d29f424.tar.xz |
Bug 1002357: memached->clear_config isn't always called where required
r=dkl, a=glob
Diffstat (limited to 'Bugzilla/Product.pm')
-rw-r--r-- | Bugzilla/Product.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Product.pm b/Bugzilla/Product.pm index 55c4de0b8..3d4de7430 100644 --- a/Bugzilla/Product.pm +++ b/Bugzilla/Product.pm @@ -102,6 +102,7 @@ sub create { Bugzilla::Hook::process('product_end_of_create', { product => $product }); $dbh->bz_commit_transaction(); + Bugzilla->memcached->clear_config(); return $product; } @@ -258,6 +259,7 @@ sub update { # Changes have been committed. delete $self->{check_group_controls}; Bugzilla->user->clear_product_cache(); + Bugzilla->memcached->clear_config(); return $changes; } @@ -316,6 +318,7 @@ sub remove_from_db { $self->SUPER::remove_from_db(); $dbh->bz_commit_transaction(); + Bugzilla->memcached->clear_config(); # We have to delete these internal variables, else we get # the old lists of products and classifications again. |