X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fcommunigate_pro.pm;h=9a4539a4ad04df3ec05615c1199d9e905aa19f69;hb=8e70e767b1fc7384d11d38246868d17ea0ec560e;hp=a9d9591ca505493a9ccecf96663262f4891df4f6;hpb=972ef71fa13cf9a76cb6453a98ece950e1776f1a;p=freeside.git diff --git a/FS/FS/part_export/communigate_pro.pm b/FS/FS/part_export/communigate_pro.pm index a9d9591ca..9a4539a4a 100644 --- a/FS/FS/part_export/communigate_pro.pm +++ b/FS/FS/part_export/communigate_pro.pm @@ -78,9 +78,8 @@ sub _export_unsuspend { sub communigate_pro_queue { my( $self, $svcnum, $method ) = (shift, shift, shift); my @kludge_methods = qw(CreateAccount UpdateAccountSettings); - my $sub = grep { $method eq $_ } @kludge_methods - ? $method - : 'communigate_pro_command'; + my $sub = 'communigate_pro_command'; + $sub = $method if grep { $method eq $_ } @kludge_methods; my $queue = new FS::queue { 'svcnum' => $svcnum, 'job' => "FS::part_export::communigate_pro::$sub",