Use cache helpers rather than database to handle configuration tokens and downloads.
This commit is contained in:
parent
2330c25a8c
commit
605c91a9af
11 changed files with 95 additions and 146 deletions
|
@ -284,9 +284,6 @@ class NodeRepository
|
|||
// Delete Allocations
|
||||
Models\Allocation::where('node_id', $node->id)->delete();
|
||||
|
||||
// Delete configure tokens
|
||||
Models\NodeConfigurationToken::where('node_id', $node->id)->delete();
|
||||
|
||||
// Delete Node
|
||||
$node->delete();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue