Browse Source

update torrent locales/sensitive values on user approve

main
ghost 1 year ago
parent
commit
da1e869be5
  1. 8
      src/Service/TorrentService.php

8
src/Service/TorrentService.php

@ -568,6 +568,10 @@ class TorrentService @@ -568,6 +568,10 @@ class TorrentService
$this->entityManagerInterface->persist($torrentLocales);
$this->entityManagerInterface->flush();
$this->updateTorrentLocales(
$torrentLocales->getTorrentId(),
);
}
}
@ -695,6 +699,10 @@ class TorrentService @@ -695,6 +699,10 @@ class TorrentService
$this->entityManagerInterface->persist($torrentSensitive);
$this->entityManagerInterface->flush();
$this->updateTorrentSensitive(
$torrentSensitive->getTorrentId(),
);
}
}

Loading…
Cancel
Save