[freeside-commits] branch FREESIDE_3_BRANCH updated. 4c1c80339ca89fc2bb4c59f0400b0ce49f77d893

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


The branch, FREESIDE_3_BRANCH has been updated
       via  4c1c80339ca89fc2bb4c59f0400b0ce49f77d893 (commit)
      from  4de6188bbcf33e2793be4f95a48d79fd36699067 (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 4c1c80339ca89fc2bb4c59f0400b0ce49f77d893
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Aug 12 12:28:46 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