diff options
author | David Lawrence <dkl@mozilla.com> | 2015-03-31 06:50:03 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-31 06:50:03 +0200 |
commit | 05a3191e114c87bf4198558895e934dab4caf92c (patch) | |
tree | 83c17c956f83f30bc82d67baca69190efa7ada6a /extensions | |
parent | a5f2f9dd24e8dce8aa41ef8b93c5026b6a023b3a (diff) | |
download | bugzilla-05a3191e114c87bf4198558895e934dab4caf92c.tar.gz bugzilla-05a3191e114c87bf4198558895e934dab4caf92c.tar.xz |
Bug 1149038: renaming a tracking flag isn't clearing a memcached cache, resulting in Can't locate object method "cf_status_thunderbird_esr39" via package "Bugzilla::Bug" errors
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/TrackingFlags/lib/Flag.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/TrackingFlags/lib/Flag.pm b/extensions/TrackingFlags/lib/Flag.pm index 3ae7a937e..75cf7eccc 100644 --- a/extensions/TrackingFlags/lib/Flag.pm +++ b/extensions/TrackingFlags/lib/Flag.pm @@ -162,6 +162,9 @@ sub update { $cache->{'tracking_flags'}->{$self->flag_id} = $self; } + # fielddefs has been changed so we need to clear global config + Bugzilla->memcached->clear_config(); + return $changes; } |