From 4b4d74a09dd4e39f53b7d0944b20b178cbecd5ec Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 18 Nov 2011 00:09:50 +0000 Subject: reduce memory usage of voip_tiered, RT#14903 --- FS/FS/cdr_termination.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FS/FS/cdr_termination.pm') diff --git a/FS/FS/cdr_termination.pm b/FS/FS/cdr_termination.pm index 5e30805..0209f0d 100644 --- a/FS/FS/cdr_termination.pm +++ b/FS/FS/cdr_termination.pm @@ -119,8 +119,8 @@ sub check { || $self->ut_foreign_key('acctid', 'cdr', 'acctid') #|| $self->ut_foreign_key('termpart', 'part_termination', 'termpart') || $self->ut_number('termpart') - || $self->ut_float('rated_price') - || $self->ut_enum('status', [ '', 'done' ] ) # , 'skipped' ] ) + || $self->ut_floatn('rated_price') + || $self->ut_enum('status', [ '', 'processing-tiered', 'done' ] ) # , 'skipped' ] ) ; return $error if $error; -- cgit v1.1