projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
579b08e
)
more updates to cust_refund::update_replace
author
ivan
<ivan>
Thu, 24 Jan 2002 06:46:29 +0000
(06:46 +0000)
committer
ivan
<ivan>
Thu, 24 Jan 2002 06:46:29 +0000
(06:46 +0000)
FS/FS/cust_refund.pm
patch
|
blob
|
history
diff --git
a/FS/FS/cust_refund.pm
b/FS/FS/cust_refund.pm
index
6bf2da5
..
0f87679
100644
(file)
--- a/
FS/FS/cust_refund.pm
+++ b/
FS/FS/cust_refund.pm
@@
-133,7
+133,7
@@
sub insert {
}
}
-sub upgrade_replace {
+sub upgrade_replace {
#1.3.x->1.4.x
my $self = shift;
local $SIG{HUP} = 'IGNORE';
my $self = shift;
local $SIG{HUP} = 'IGNORE';
@@
-170,7
+170,7
@@
sub upgrade_replace {
die;
}
die;
}
- $error = $new->SUPER::
insert
($self);
+ $error = $new->SUPER::
replace
($self);
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
return $error;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;
return $error;
@@
-259,7
+259,7
@@
sub check {
=head1 VERSION
=head1 VERSION
-$Id: cust_refund.pm,v 1.1
0 2002-01-24 02:26:4
9 ivan Exp $
+$Id: cust_refund.pm,v 1.1
1 2002-01-24 06:46:2
9 ivan Exp $
=head1 BUGS
=head1 BUGS