summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-09-10 19:43:03 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-09-10 19:43:03 +0200
commit196782cb0c28322b6325f9415f3cdf2f25fc7c0d (patch)
treef15f71e43e4eaf28547613977efcb268a18d77f4 /extensions/TrackingFlags
parentcb38e8c889a2f315e023b3fb3e657a3a5a509356 (diff)
downloadbugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.gz
bugzilla-196782cb0c28322b6325f9415f3cdf2f25fc7c0d.tar.xz
Bug 904988 - create an ember extension with bespoke methods
r=glob
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/lib/Flag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/TrackingFlags/lib/Flag.pm b/extensions/TrackingFlags/lib/Flag.pm
index 29f81669d..9be416978 100644
--- a/extensions/TrackingFlags/lib/Flag.pm
+++ b/extensions/TrackingFlags/lib/Flag.pm
@@ -424,7 +424,7 @@ sub type { return FIELD_TYPE_EXTENSION; }
sub legal_values { return $_[0]->values; }
sub custom { return 1; }
sub in_new_bugmail { return 1; }
-sub obsolete { return 0; }
+sub obsolete { return $_[0]->is_active ? 1 : 0; }
sub enter_bug { return 1; }
sub buglist { return 1; }
sub is_select { return 1; }