diff options
author | Byron Jones <bjones@mozilla.com> | 2013-09-02 09:54:34 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-09-02 09:54:34 +0200 |
commit | 9a9e8ef7febf533e8aae2fb21f3d45f9bf919b1b (patch) | |
tree | 86aebd7d82175e11c2c5176ad1298e706176db07 /extensions/TrackingFlags/lib/Flag.pm | |
parent | 966842dba39639720103cc10de922479550a970b (diff) | |
download | bugzilla-9a9e8ef7febf533e8aae2fb21f3d45f9bf919b1b.tar.gz bugzilla-9a9e8ef7febf533e8aae2fb21f3d45f9bf919b1b.tar.xz |
remove accidental commits
https://bugzilla.mozilla.org/show_bug.cgi?id=909843
Diffstat (limited to 'extensions/TrackingFlags/lib/Flag.pm')
-rw-r--r-- | extensions/TrackingFlags/lib/Flag.pm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/extensions/TrackingFlags/lib/Flag.pm b/extensions/TrackingFlags/lib/Flag.pm index b7abe97d2..f35b661eb 100644 --- a/extensions/TrackingFlags/lib/Flag.pm +++ b/extensions/TrackingFlags/lib/Flag.pm @@ -35,7 +35,6 @@ use constant DB_COLUMNS => qw( description type sortkey - enter_bug is_active ); @@ -46,7 +45,6 @@ use constant UPDATE_COLUMNS => qw( description type sortkey - enter_bug is_active ); @@ -55,8 +53,8 @@ use constant VALIDATORS => { description => \&_check_description, type => \&_check_type, sortkey => \&_check_sortkey, - enter_bug => \&Bugzilla::Object::check_boolean, is_active => \&Bugzilla::Object::check_boolean, + }; use constant UPDATE_VALIDATORS => { @@ -64,7 +62,6 @@ use constant UPDATE_VALIDATORS => { description => \&_check_description, type => \&_check_type, sortkey => \&_check_sortkey, - enter_bug => \&Bugzilla::Object::check_boolean, is_active => \&Bugzilla::Object::check_boolean, }; @@ -341,7 +338,6 @@ sub set_name { $_[0]->set('name', $_[1]); } sub set_description { $_[0]->set('description', $_[1]); } sub set_type { $_[0]->set('type', $_[1]); } sub set_sortkey { $_[0]->set('sortkey', $_[1]); } -sub set_enter_bug { $_[0]->set('enter_bug', $_[1]); } sub set_is_active { $_[0]->set('is_active', $_[1]); } ############################### @@ -353,7 +349,6 @@ sub name { return $_[0]->{'name'}; } sub description { return $_[0]->{'description'}; } sub flag_type { return $_[0]->{'type'}; } sub sortkey { return $_[0]->{'sortkey'}; } -sub enter_bug { return $_[0]->{'enter_bug'}; } sub is_active { return $_[0]->{'is_active'}; } sub values { @@ -426,6 +421,7 @@ sub legal_values { return $_[0]->values; } sub custom { return 1; } sub in_new_bugmail { return 1; } sub obsolete { return 0; } +sub enter_bug { return 1; } sub buglist { return 1; } sub is_select { return 1; } sub is_abnormal { return 1; } |