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/Comment/TagWeights.pm | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Bugzilla/Comment') diff --git a/Bugzilla/Comment/TagWeights.pm b/Bugzilla/Comment/TagWeights.pm index ba7bdfc5b..4919244ce 100644 --- a/Bugzilla/Comment/TagWeights.pm +++ b/Bugzilla/Comment/TagWeights.pm @@ -39,18 +39,7 @@ use constant VALIDATORS => { }; # There's no gain to caching these objects use constant USE_MEMCACHED => 0; -############################### -#### Accessors ###### -############################### - -use Class::XSAccessor { - accessors => { - id => __PACKAGE__->ID_FIELD, - tag => __PACKAGE__->NAME_FIELD, - name => __PACKAGE__->NAME_FIELD, - }, -}; - +sub tag { return $_[0]->{'tag'} } sub weight { return $_[0]->{'weight'} } sub set_weight { $_[0]->set('weight', $_[1]); } -- cgit v1.2.3-24-g4f1b