From: Ivan Kohler <ivan@freeside.biz>
Date: Tue, 12 Aug 2014 19:28:46 +0000 (-0700)
Subject: fix log contexts, RT#30238
X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=4c1c80339ca89fc2bb4c59f0400b0ce49f77d893

fix log contexts, RT#30238
---

diff --git a/FS/FS/log_context.pm b/FS/FS/log_context.pm
index a25490588..db97c9b68 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;