summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-06-04 05:18:22 +0200
committerDavid Lawrence <dkl@mozilla.com>2015-06-04 05:18:22 +0200
commitee8fcdaa1d5da3b4c56218c462fa588d13773f07 (patch)
tree4f261c1fad120c25511ffa460a8d30160a1965db
parentbe2597572284cdef9bd58042754658f1f754d42a (diff)
downloadbugzilla-ee8fcdaa1d5da3b4c56218c462fa588d13773f07.tar.gz
bugzilla-ee8fcdaa1d5da3b4c56218c462fa588d13773f07.tar.xz
Bug 1171074: Removing a custom field does not clear config memcache
-rw-r--r--Bugzilla/Field.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm
index 84e2a1bfe..ea93327ad 100644
--- a/Bugzilla/Field.pm
+++ b/Bugzilla/Field.pm
@@ -985,6 +985,9 @@ sub remove_from_db {
$dbh->bz_drop_field_tables($self);
}
+ Bugzilla->memcached->clear({ table => 'fielddefs', id => $self->id });
+ Bugzilla->memcached->clear_config();
+
$dbh->bz_commit_transaction();
};
my $error = "$@";