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/Milestone.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Milestone.pm') diff --git a/Bugzilla/Milestone.pm b/Bugzilla/Milestone.pm index daa362c34..83438e7c6 100644 --- a/Bugzilla/Milestone.pm +++ b/Bugzilla/Milestone.pm @@ -113,10 +113,10 @@ sub update { $dbh->do('UPDATE products SET defaultmilestone = ? WHERE id = ? AND defaultmilestone = ?', undef, ($self->name, $self->product_id, $changes->{value}->[0])); - Bugzilla->memcached->clear({ table => 'produles', id => $self->product_id }); - Bugzilla->memcached->clear_config(); + Bugzilla->memcached->clear({ table => 'products', id => $self->product_id }); } $dbh->bz_commit_transaction(); + Bugzilla->memcached->clear_config(); return $changes; } -- cgit v1.2.3-24-g4f1b