mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
update torrent locales/sensitive values on user approve
This commit is contained in:
parent
e713c17333
commit
da1e869be5
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue