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