fix device and device_port delete not to kill nodes

This commit is contained in:
Oliver Gorwits
2013-09-11 23:13:56 +01:00
parent 53caf97036
commit d489093c88
3 changed files with 9 additions and 6 deletions

View File

@@ -78,7 +78,7 @@ ajax '/ajax/control/admin/delete' => require_role admin => sub {
->search({ip => param('device')});
# will delete everything related too...
$device->delete;
$device->delete({archive_nodes => param('archive')});
});
};