mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-10 23:17:53 +00:00
update torrent locales/sensitive values on user approve
This commit is contained in:
parent
e713c17333
commit
da1e869be5
@ -568,6 +568,10 @@ class TorrentService
|
|||||||
|
|
||||||
$this->entityManagerInterface->persist($torrentLocales);
|
$this->entityManagerInterface->persist($torrentLocales);
|
||||||
$this->entityManagerInterface->flush();
|
$this->entityManagerInterface->flush();
|
||||||
|
|
||||||
|
$this->updateTorrentLocales(
|
||||||
|
$torrentLocales->getTorrentId(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -695,6 +699,10 @@ class TorrentService
|
|||||||
|
|
||||||
$this->entityManagerInterface->persist($torrentSensitive);
|
$this->entityManagerInterface->persist($torrentSensitive);
|
||||||
$this->entityManagerInterface->flush();
|
$this->entityManagerInterface->flush();
|
||||||
|
|
||||||
|
$this->updateTorrentSensitive(
|
||||||
|
$torrentSensitive->getTorrentId(),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user