X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fradius_usergroup.pm;h=cf3cdfa01a9726a1315122194f19c8e01b2ab047;hp=8085fe805b0d6610d5acc0aade6f2b1dd81ace63;hb=3adb46fccf9f631e188ea5383bd147b340477639;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924 diff --git a/FS/FS/radius_usergroup.pm b/FS/FS/radius_usergroup.pm index 8085fe805..cf3cdfa01 100644 --- a/FS/FS/radius_usergroup.pm +++ b/FS/FS/radius_usergroup.pm @@ -1,13 +1,11 @@ package FS::radius_usergroup; +use base qw(FS::Record); use strict; -use vars qw( @ISA ); use FS::Record qw( qsearch qsearchs ); use FS::svc_acct; use FS::radius_group; -@ISA = qw(FS::Record); - =head1 NAME FS::radius_usergroup - Object methods for radius_usergroup records @@ -127,11 +125,6 @@ Returns the RADIUS group associated with this record (see L). =cut -sub radius_group { - my $self = shift; - qsearchs('radius_group', { 'groupnum' => $self->groupnum } ); -} - sub _upgrade_data { #class method my ($class, %opts) = @_; @@ -163,7 +156,7 @@ sub _upgrade_data { #class method =head1 SEE ALSO -L, L, L, schema.html from the base documentation. +L, L, L, schema.html from the base documentation. =cut