projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92a1c86
)
fix delete order to avoid foreign key trouble, #13971
author
Mark Wells
<mark@freeside.biz>
Wed, 9 Jul 2014 00:02:12 +0000
(17:02 -0700)
committer
Mark Wells
<mark@freeside.biz>
Wed, 9 Jul 2014 00:02:12 +0000
(17:02 -0700)
FS/FS/svc_Radius_Mixin.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_Radius_Mixin.pm
b/FS/FS/svc_Radius_Mixin.pm
index
969f749
..
8e53a15
100644
(file)
--- a/
FS/FS/svc_Radius_Mixin.pm
+++ b/
FS/FS/svc_Radius_Mixin.pm
@@
-99,12
+99,12
@@
sub delete {
local $FS::UID::AutoCommit = 0;
my $dbh = dbh;
- my $error = $self->SUPER::delete(@_)
- || $self->process_m2m(
+ my $error = $self->process_m2m(
'link_table' => 'radius_usergroup',
'target_table' => 'radius_group',
'params' => [],
- );
+ )
+ || $self->SUPER::delete;
if ( $error ) {
$dbh->rollback if $oldAutoCommit;