summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2016-06-30 23:07:54 +0200
committerDavid Lawrence <dkl@mozilla.com>2016-06-30 23:07:54 +0200
commit7697add121a0f50342701ff5df411a43ff614853 (patch)
treeffd3ffbc48d51c051dfdd77016be3587fab8b774 /extensions/TrackingFlags
parent8920445cb25111f5748b3713ca59e8e549d6cb08 (diff)
downloadbugzilla-7697add121a0f50342701ff5df411a43ff614853.tar.gz
bugzilla-7697add121a0f50342701ff5df411a43ff614853.tar.xz
Bug 1280281 - Need to call Bugzilla->memcache->clear_config() when adding a new flag (only happens on update currently)
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/lib/Flag.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/TrackingFlags/lib/Flag.pm b/extensions/TrackingFlags/lib/Flag.pm
index 75cf7eccc..cfda0bad5 100644
--- a/extensions/TrackingFlags/lib/Flag.pm
+++ b/extensions/TrackingFlags/lib/Flag.pm
@@ -132,6 +132,9 @@ sub create {
write_params();
die $error if $error;
+ # fielddefs has been changed so we need to clear global config
+ Bugzilla->memcached->clear_config();
+
return $flag;
}