diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2013-04-10 13:01:41 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2013-04-10 13:01:41 -0700 |
| commit | 3707610bb71547ff5b83486f830122ec573e7585 (patch) | |
| tree | 24090839103e01adbefdb195451495a5312088a2 | |
| parent | 3681a0191d49e41418a999a39007692bb0adabcb (diff) | |
snarfs are used by commuigate pro RPOP
| -rw-r--r-- | FS/FS/svc_acct.pm | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index 87d33b029..fd7f5dd17 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -1883,22 +1883,22 @@ sub email { $self->username. '@'. $self->domain(@_); } -# snarfs are unused at this point? -# -# =item acct_snarf -# -# Returns an array of FS::acct_snarf records associated with the account. -# -# =cut -# -# sub acct_snarf { -# my $self = shift; -# qsearch({ -# 'table' => 'acct_snarf', -# 'hashref' => { 'svcnum' => $self->svcnum }, -# #'order_by' => 'ORDER BY priority ASC', -# }); -# } + +=item acct_snarf + +Returns an array of FS::acct_snarf records associated with the account. + +=cut + +# unused as originally intended, but now by Communigate Pro "RPOP" +sub acct_snarf { + my $self = shift; + qsearch({ + 'table' => 'acct_snarf', + 'hashref' => { 'svcnum' => $self->svcnum }, + #'order_by' => 'ORDER BY priority ASC', + }); +} =item cgp_rpop_hashref |
