Skip to content

Commit 7ef2368

Browse files
authored
Merge pull request pterodactyl#381 from KasperFranz/bug/deleteServer
change server to server_id since that is the new name
2 parents dcc2257 + f5810f0 commit 7ef2368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Repositories/ServerRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ public function delete($id, $force = false)
751751
Models\Download::where('server', $server->uuid)->delete();
752752

753753
// Clear Tasks
754-
Models\Task::where('server', $server->id)->delete();
754+
Models\Task::where('server_id', $server->id)->delete();
755755

756756
// Delete Databases
757757
// This is the one un-recoverable point where

0 commit comments

Comments
 (0)