[freeside-commits] branch master updated. 942d6c9ed24ac236abd050773cc38a9a6694357f

Ivan ivan at 420.am
Wed Apr 10 13:01:40 PDT 2013


The branch, master has been updated
       via  942d6c9ed24ac236abd050773cc38a9a6694357f (commit)
      from  4402718cbb1f0647bd734440b6fa2a1cd85a5635 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 942d6c9ed24ac236abd050773cc38a9a6694357f
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Apr 10 13:01:39 2013 -0700

    snarfs are used by commuigate pro RPOP

diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 6b48384..26d6e5b 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -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
 

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/svc_acct.pm |   32 ++++++++++++++++----------------
 1 files changed, 16 insertions(+), 16 deletions(-)




More information about the freeside-commits mailing list