diff options
author | Byron Jones <bjones@mozilla.com> | 2014-01-31 08:18:51 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2014-01-31 08:18:51 +0100 |
commit | c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778 (patch) | |
tree | 092c3a3ecb3152aba305c8ec4323056fc27865e2 /Bugzilla/Field.pm | |
parent | cbd6506533f7370ba27c6928e887889627acb6b9 (diff) | |
download | bugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.gz bugzilla-c5464b5bb7dfece2bad2b8af9eba4d9b6d07d778.tar.xz |
Bug 956233: enable USE_MEMCACHE on most objects
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 82c82161a..dce16f83b 100644 --- a/Bugzilla/Field.pm +++ b/Bugzilla/Field.pm @@ -1075,6 +1075,8 @@ sub create { # Restore the original obsolete state of the custom field. $dbh->do('UPDATE fielddefs SET obsolete = 0 WHERE id = ?', undef, $field->id) unless $is_obsolete; + + Bugzilla->memcached->clear({ table => 'fielddefs', id => $field->id }); } return $field; |