X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Faccess_user.pm;h=0a441c45a68cb6592d7e37b79ee4079221478795;hb=8edb7f0ed92d28c935a8e2c26b5b645dccc7704e;hp=b740e47a42e058b25428271f950c9516857f4567;hpb=66c235e33563ccd785ff9e0828398f778a75fb9f;p=freeside.git diff --git a/FS/FS/access_user.pm b/FS/FS/access_user.pm index b740e47a4..0a441c45a 100644 --- a/FS/FS/access_user.pm +++ b/FS/FS/access_user.pm @@ -1,14 +1,12 @@ package FS::access_user; +use base qw( FS::m2m_Common FS::option_Common ); use strict; -use base qw( FS::m2m_Common FS::option_Common ); use vars qw( $DEBUG $me $conf ); use FS::UID; use FS::Auth; use FS::Conf; use FS::Record qw( qsearch qsearchs dbh ); -use FS::access_user_pref; -use FS::access_usergroup; use FS::agent; use FS::cust_main; use FS::sales; @@ -265,29 +263,6 @@ sub report_sales { Returns links to the the groups this user is a part of, as FS::access_usergroup objects (see L). -=cut - -sub access_usergroup { - my $self = shift; - qsearch( 'access_usergroup', { 'usernum' => $self->usernum } ); -} - -#=item access_groups -# -#=cut -# -#sub access_groups { -# -#} -# -#=item access_groupnames -# -#=cut -# -#sub access_groupnames { -# -#} - =item agentnums Returns a list of agentnums this user can view (via group membership).