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/Field.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/Field.pm')
-rw-r--r-- | Bugzilla/Field.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 98cf389a1..6ad8df573 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -1058,6 +1058,7 @@ sub create { $field->_update_visibility_values(); $dbh->bz_commit_transaction(); + Bugzilla->memcached->clear_config(); if ($field->custom) { my $name = $field->name; @@ -1096,6 +1097,7 @@ sub update { $dbh->do("UPDATE " . $self->name . " SET visibility_value_id = NULL"); } $self->_update_visibility_values(); + Bugzilla->memcached->clear_config(); return $changes; } |