projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svc_cable unique serialnum and mac_addr, RT#
[freeside.git]
/
FS
/
FS
/
svc_hardware.pm
diff --git
a/FS/FS/svc_hardware.pm
b/FS/FS/svc_hardware.pm
index
b28cc9e
..
dc9ac59
100644
(file)
--- a/
FS/FS/svc_hardware.pm
+++ b/
FS/FS/svc_hardware.pm
@@
-1,10
+1,9
@@
package FS::svc_hardware;
package FS::svc_hardware;
+use base qw( FS::svc_Common );
use strict;
use strict;
-use base qw( FS::svc_Common );
use vars qw( $conf );
use vars qw( $conf );
-use FS::Record qw( qsearch qsearchs );
-use FS::hardware_type;
+use FS::Record qw( qsearchs ); #qsearch qsearchs );
use FS::hardware_status;
use FS::Conf;
use FS::hardware_status;
use FS::Conf;
@@
-200,13
+199,6
@@
sub check {
Returns the L<FS::hardware_type> object associated with this installation.
Returns the L<FS::hardware_type> object associated with this installation.
-=cut
-
-sub hardware_type {
- my $self = shift;
- return qsearchs('hardware_type', { 'typenum' => $self->typenum });
-}
-
=item status_label
Returns the 'label' field of the L<FS::hardware_status> object associated
=item status_label
Returns the 'label' field of the L<FS::hardware_status> object associated