summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Milestone.pm
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-05-12 07:11:59 +0200
committerByron Jones <glob@mozilla.com>2014-05-12 07:11:59 +0200
commit8243604780d562f47af41b9e9b2f78b00d29f424 (patch)
treeebe400dcbabaae82d4a43fa27a2285162e8147bd /Bugzilla/Milestone.pm
parentffaf79a2bcf3a37f81b8f35befd9f535e4bbb451 (diff)
downloadbugzilla-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/Milestone.pm')
-rw-r--r--Bugzilla/Milestone.pm4
1 files changed, 2 insertions, 2 deletions
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;
}