mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 01:25:39 +00:00
remove article drafts (feature moved to new releases)
This commit is contained in:
parent
da1e869be5
commit
ea9f7f1589
35 changed files with 9 additions and 4606 deletions
|
|
@ -54,16 +54,11 @@ class Activity
|
|||
|
||||
public const EVENT_TORRENT_DOWNLOAD_MAGNET_ADD = 2500;
|
||||
|
||||
/// Article
|
||||
public const EVENT_ARTICLE_ADD = 3000;
|
||||
// ...
|
||||
|
||||
#[ORM\Column]
|
||||
private ?int $userId = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $articleId = null;
|
||||
|
||||
#[ORM\Column(nullable: true)]
|
||||
private ?int $torrentId = null;
|
||||
|
||||
|
|
@ -109,18 +104,6 @@ class Activity
|
|||
return $this;
|
||||
}
|
||||
|
||||
public function getArticleId(): ?int
|
||||
{
|
||||
return $this->articleId;
|
||||
}
|
||||
|
||||
public function setArticleId(int $articleId): static
|
||||
{
|
||||
$this->articleId = $articleId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getTorrentId(): ?int
|
||||
{
|
||||
return $this->torrentId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue