implement poster position settings #18

This commit is contained in:
ghost 2023-10-31 02:06:58 +02:00
parent cfeeabee72
commit 5c76a17df5
23 changed files with 342 additions and 29 deletions

View file

@ -1126,6 +1126,7 @@ class TorrentService
public function addTorrentPoster(
string $filename,
string $position,
int $torrentId,
int $userId,
int $added,
@ -1139,6 +1140,7 @@ class TorrentService
$torrentPoster->setUserId($userId);
$torrentPoster->setAdded($added);
$torrentPoster->setApproved($approved);
$torrentPoster->setPosition($position);
$torrentPoster->setMd5file(
md5_file($filename)
);