From 2a83c6a0c178548b5abb3a648a56ca684264a1f6 Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 2 Apr 2008 00:22:59 +0000 Subject: [PATCH] don't do (as much) useless work on upgrade --- FS/FS/cust_pay.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/FS/FS/cust_pay.pm b/FS/FS/cust_pay.pm index 358dfdc3d..ab8113381 100644 --- a/FS/FS/cust_pay.pm +++ b/FS/FS/cust_pay.pm @@ -699,6 +699,7 @@ sub _upgrade_data { #class method my $h_cust_pay = $cust_pay->h_search('insert'); if ( $h_cust_pay ) { + next if $cust_pay->otaker eq $h_cust_pay->history_user; $cust_pay->otaker($h_cust_pay->history_user); } else { $cust_pay->otaker('legacy'); -- 2.11.0