From 51c442fb9e1eb1c779a5ba18105335fe54eb234c Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 6 Mar 2018 18:42:09 -0500 Subject: Revert Bug 1273381 This reverts commit ed53ecda0546d6c639fa3d227a59ace4d57b81a5. --- Bugzilla/Whine/Query.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Bugzilla/Whine/Query.pm') 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; -- cgit v1.2.3-24-g4f1b