projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
multiple payment options, RT#23741
[freeside.git]
/
FS
/
FS
/
access_groupagent.pm
diff --git
a/FS/FS/access_groupagent.pm
b/FS/FS/access_groupagent.pm
index
bacc013
..
b0c4bb3
100644
(file)
--- a/
FS/FS/access_groupagent.pm
+++ b/
FS/FS/access_groupagent.pm
@@
-1,12
+1,7
@@
package FS::access_groupagent;
package FS::access_groupagent;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw( @ISA );
-use FS::Record qw( qsearch qsearchs );
-use FS::agent;
-use FS::access_group;
-
-@ISA = qw(FS::Record);
=head1 NAME
=head1 NAME
@@
-114,24
+109,10
@@
sub check {
Returns the associated FS::agent object.
Returns the associated FS::agent object.
-=cut
-
-sub agent {
- my $self = shift;
- qsearchs('agent', { 'agentnum' => $self->agentnum } );
-}
-
=item access_group
Returns the associated FS::access_group object.
=item access_group
Returns the associated FS::access_group object.
-=cut
-
-sub access_group {
- my $self = shift;
- qsearchs('access_group', { 'groupnum' => $self->groupnum } );
-}
-
=back
=head1 BUGS
=back
=head1 BUGS