From 8243604780d562f47af41b9e9b2f78b00d29f424 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Mon, 12 May 2014 13:11:59 +0800 Subject: Bug 1002357: memached->clear_config isn't always called where required r=dkl, a=glob --- Bugzilla/Product.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla/Product.pm') 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. -- cgit v1.2.3-24-g4f1b