[freeside-commits] branch master updated. bb8a2550ea2c6f666af51f8c040819e854f9022d

Ivan ivan at 420.am
Tue Aug 12 12:28:45 PDT 2014


The branch, master has been updated
       via  bb8a2550ea2c6f666af51f8c040819e854f9022d (commit)
      from  7cb39d93fc31d93e146d760c22db334790b7b980 (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 bb8a2550ea2c6f666af51f8c040819e854f9022d
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Aug 12 12:28:45 2014 -0700

    fix log contexts, RT#30238

diff --git a/FS/FS/log_context.pm b/FS/FS/log_context.pm
index a254905..db97c9b 100644
--- a/FS/FS/log_context.pm
+++ b/FS/FS/log_context.pm
@@ -7,6 +7,8 @@ use FS::Record qw( qsearch qsearchs );
 my @contexts = ( qw(
   test
   bill_and_collect
+  FS::cust_main::Billing::bill_and_collect
+  FS::cust_main::Billing::bill
   Cron::bill
   Cron::upload
   spool_upload
@@ -112,7 +114,8 @@ sub check {
   my $error = 
     $self->ut_numbern('logcontextnum')
     || $self->ut_number('lognum')
-    || $self->ut_enum('context', \@contexts)
+    #|| $self->ut_enum('context', \@contexts)
+    #|| $self->ut_enum('context', \@contexts)
   ;
   return $error if $error;
 

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

Summary of changes:
 FS/FS/log_context.pm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)




More information about the freeside-commits mailing list