summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Version.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-07 00:42:09 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-07 00:42:09 +0100
commit51c442fb9e1eb1c779a5ba18105335fe54eb234c (patch)
treee3d0f9e0e8758237501950af022c976c450c53fe /Bugzilla/Version.pm
parent517805794fc99737fb69c4e0cdae7c045a88eb7d (diff)
downloadbugzilla-51c442fb9e1eb1c779a5ba18105335fe54eb234c.tar.gz
bugzilla-51c442fb9e1eb1c779a5ba18105335fe54eb234c.tar.xz
Revert Bug 1273381
Diffstat (limited to 'Bugzilla/Version.pm')
-rw-r--r--Bugzilla/Version.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/Version.pm b/Bugzilla/Version.pm
index 4b509a60e..a078cb4fc 100644
--- a/Bugzilla/Version.pm
+++ b/Bugzilla/Version.pm
@@ -28,7 +28,6 @@ use constant DEFAULT_VERSION => 'unspecified';
use constant DB_TABLE => 'versions';
use constant NAME_FIELD => 'value';
-
# This is "id" because it has to be filled in and id is probably the fastest.
# We do a custom sort in new_from_list below.
use constant LIST_ORDER => 'id';
@@ -148,13 +147,6 @@ sub remove_from_db {
##### Accessors ####
###############################
-use Class::XSAccessor {
- accessors => {
- id => __PACKAGE__->ID_FIELD,
- name => __PACKAGE__->NAME_FIELD,
- },
-};
-
sub product_id { return $_[0]->{'product_id'}; }
sub is_active { return $_[0]->{'isactive'}; }