Skip to content

Commit

Permalink
fix: torrent deletion pms
Browse files Browse the repository at this point in the history
- insert does not set timestamps automatically
  • Loading branch information
HDVinnie committed Jul 18, 2023
1 parent 978a581 commit 3330e0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Http/Controllers/TorrentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ public function destroy(Request $request, int $id)
'receiver_id' => $user_id,
'subject' => 'Torrent Deleted! - '.$torrent->name,
'message' => '[b]Attention:[/b] Torrent '.$torrent->name." has been removed from our site. Our system shows that you were either the uploader, a seeder or a leecher on said torrent. We just wanted to let you know you can safely remove it from your client.\n\n[b]Removal Reason:[/b] ".$request->message."\n\n[color=red][b]THIS IS AN AUTOMATED SYSTEM MESSAGE, PLEASE DO NOT REPLY![/b][/color]",
'created_at' => now(),
'updated_at' => now(),
];
}

Expand Down

0 comments on commit 3330e0a

Please sign in to comment.