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/Flag.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Bugzilla/Flag.pm') diff --git a/Bugzilla/Flag.pm b/Bugzilla/Flag.pm index 8ace32be6..625794974 100644 --- a/Bugzilla/Flag.pm +++ b/Bugzilla/Flag.pm @@ -104,12 +104,6 @@ use constant UPDATE_VALIDATORS => { #### Accessors ###### ############################### -use Class::XSAccessor { - accessors => { - id => __PACKAGE__->ID_FIELD, - }, -}; - =head2 METHODS =over @@ -146,6 +140,7 @@ Returns the timestamp when the flag was last modified. =cut +sub id { return $_[0]->{'id'}; } sub name { return $_[0]->type->name; } sub type_id { return $_[0]->{'type_id'}; } sub bug_id { return $_[0]->{'bug_id'}; } -- cgit v1.2.3-24-g4f1b