snarfs are used by commuigate pro RPOP
authorIvan Kohler <ivan@freeside.biz>
Wed, 10 Apr 2013 20:01:39 +0000 (13:01 -0700)
committerIvan Kohler <ivan@freeside.biz>
Wed, 10 Apr 2013 20:01:39 +0000 (13:01 -0700)
FS/FS/svc_acct.pm

index 6b48384..26d6e5b 100644 (file)
@@ -1895,22 +1895,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