mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 15:57:12 +00:00
fix delete code
This commit is contained in:
parent
217d9d54b6
commit
5ba4018131
@ -121,8 +121,9 @@ sub delete
|
|||||||
my @out;
|
my @out;
|
||||||
|
|
||||||
$self->_del_users;
|
$self->_del_users;
|
||||||
foreach my $parent (@{$self->{parent}}) {
|
foreach my $call (@{$self->{parent}}) {
|
||||||
push @out, $parent->del($self);
|
my $parent = Route::Node::get($call);
|
||||||
|
push @out, $parent->del($self) if $parent;
|
||||||
}
|
}
|
||||||
return @out;
|
return @out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user