projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
FS
/
FS
/
hardware_type.pm
diff --git
a/FS/FS/hardware_type.pm
b/FS/FS/hardware_type.pm
index
f19a3f6
..
615c314
100644
(file)
--- a/
FS/FS/hardware_type.pm
+++ b/
FS/FS/hardware_type.pm
@@
-1,8
+1,7
@@
package FS::hardware_type;
package FS::hardware_type;
+use base qw( FS::Record );
use strict;
use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
=head1 NAME
=head1 NAME
@@
-115,13
+114,6
@@
sub check {
Returns the L<FS::hardware_class> associated with this device.
Returns the L<FS::hardware_class> associated with this device.
-=cut
-
-sub hardware_class {
- my $self = shift;
- return qsearchs('hardware_class', { 'classnum' => $self->classnum });
-}
-
=item description
Returns the model and revision number.
=item description
Returns the model and revision number.