Merge pull request #381 from KasperFranz/bug/deleteServer
change server to server_id since that is the new name
This commit is contained in:
commit
7ef2368f9f
|
@ -751,7 +751,7 @@ class ServerRepository
|
||||||
Models\Download::where('server', $server->uuid)->delete();
|
Models\Download::where('server', $server->uuid)->delete();
|
||||||
|
|
||||||
// Clear Tasks
|
// Clear Tasks
|
||||||
Models\Task::where('server', $server->id)->delete();
|
Models\Task::where('server_id', $server->id)->delete();
|
||||||
|
|
||||||
// Delete Databases
|
// Delete Databases
|
||||||
// This is the one un-recoverable point where
|
// This is the one un-recoverable point where
|
||||||
|
|
Loading…
Reference in New Issue