diff options
author | Byron Jones <glob@mozilla.com> | 2014-05-12 07:49:53 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-05-12 07:49:53 +0200 |
commit | 3ff56a88eebef3699df7e524dea89be7b593337f (patch) | |
tree | 5cb921c3b7a0699e4c01594b6faabbd6b12c2535 /Bugzilla/Classification.pm | |
parent | 02954330c3c5f4d13dc4b4c287af21edff64043f (diff) | |
download | bugzilla-3ff56a88eebef3699df7e524dea89be7b593337f.tar.gz bugzilla-3ff56a88eebef3699df7e524dea89be7b593337f.tar.xz |
Bug 992767: backport bug 987032 to bmo (allow memcached to cache bugzilla configuration information)
Diffstat (limited to 'Bugzilla/Classification.pm')
-rw-r--r-- | Bugzilla/Classification.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Classification.pm b/Bugzilla/Classification.pm index 5d75a6dc6..a989a40f2 100644 --- a/Bugzilla/Classification.pm +++ b/Bugzilla/Classification.pm @@ -31,6 +31,8 @@ use base qw(Bugzilla::Field::ChoiceInterface Bugzilla::Object); #### Initialization #### ############################### +use constant IS_CONFIG => 1; + use constant DB_TABLE => 'classifications'; use constant LIST_ORDER => 'sortkey, name'; @@ -75,6 +77,7 @@ sub remove_from_db { foreach my $id (@$product_ids) { Bugzilla->memcached->clear({ table => 'products', id => $id }); } + Bugzilla->memcached->clear_config(); } $self->SUPER::remove_from_db(); |