remove article drafts (feature moved to new releases)

This commit is contained in:
ghost 2023-10-13 00:26:09 +03:00
parent da1e869be5
commit ea9f7f1589
35 changed files with 9 additions and 4606 deletions

View file

@ -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;