diff options
author | Byron Jones <glob@mozilla.com> | 2014-04-07 10:38:31 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-04-07 10:38:31 +0200 |
commit | 3ef245b21a397e5253ba1bda607a1510245d5c09 (patch) | |
tree | 50175bb633117c7ae264a2e13872ead78ce91530 /Bugzilla/Field.pm | |
parent | dc9486b05615630a5d6165d8a1bd256284c19268 (diff) | |
download | bugzilla-3ef245b21a397e5253ba1bda607a1510245d5c09.tar.gz bugzilla-3ef245b21a397e5253ba1bda607a1510245d5c09.tar.xz |
Bug 987032: allow memcached to cache bugzilla configuration information
r=dkl, a=glob
Diffstat (limited to 'Bugzilla/Field.pm')
-rw-r--r-- | Bugzilla/Field.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Field.pm b/Bugzilla/Field.pm index 1c9927bf4..6289f110a 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -74,6 +74,8 @@ use Scalar::Util qw(blessed); #### Initialization #### ############################### +use constant IS_CONFIG => 1; + use constant DB_TABLE => 'fielddefs'; use constant LIST_ORDER => 'sortkey, name'; @@ -1078,6 +1080,7 @@ sub create { unless $is_obsolete; Bugzilla->memcached->clear({ table => 'fielddefs', id => $field->id }); + Bugzilla->memcached->clear_config(); } return $field; |