mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
implement poster position settings #18
This commit is contained in:
parent
cfeeabee72
commit
5c76a17df5
23 changed files with 342 additions and 29 deletions
|
|
@ -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)
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue