diff options
Diffstat (limited to 'Bugzilla/Whine/Query.pm')
-rw-r--r-- | Bugzilla/Whine/Query.pm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Bugzilla/Whine/Query.pm b/Bugzilla/Whine/Query.pm index 885737114..6ea91cc51 100644 --- a/Bugzilla/Whine/Query.pm +++ b/Bugzilla/Whine/Query.pm @@ -33,22 +33,15 @@ use constant DB_COLUMNS => qw( use constant NAME_FIELD => 'id'; use constant LIST_ORDER => 'sortkey'; -use constant QUERY_NAME_FIELD => 'query_name'; #################### # Simple Accessors # #################### -use Class::XSAccessor { - accessors => { - id => __PACKAGE__->ID_FIELD, - name => __PACKAGE__->QUERY_NAME_FIELD, - }, -}; - sub eventid { return $_[0]->{'eventid'}; } sub sortkey { return $_[0]->{'sortkey'}; } sub one_email_per_bug { return $_[0]->{'onemailperbug'}; } sub title { return $_[0]->{'title'}; } +sub name { return $_[0]->{'query_name'}; } 1; |