From 7697add121a0f50342701ff5df411a43ff614853 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 30 Jun 2016 21:07:54 +0000 Subject: Bug 1280281 - Need to call Bugzilla->memcache->clear_config() when adding a new flag (only happens on update currently) --- extensions/TrackingFlags/lib/Flag.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extensions/TrackingFlags') 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; } -- cgit v1.2.3-24-g4f1b