diff options
author | ivan <ivan> | 2008-04-02 00:23:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2008-04-02 00:23:00 +0000 |
commit | 7b36eb849b9be7d460eab07089802996bbaaaefe (patch) | |
tree | 98fef544a56902936cc355d0d32b27bd3931e09f | |
parent | c96860591899588e15ad85f5fba39054eab8fff5 (diff) |
don't do (as much) useless work on upgrade
-rw-r--r-- | FS/FS/cust_pay.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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'); |