mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-06 16:26:44 +02:00
fix: clear cache when deleting podcast banner
This commit is contained in:
parent
209dfbd134
commit
99bb40b8bc
2 changed files with 30 additions and 0 deletions
|
|
@ -381,6 +381,9 @@ class PodcastController extends BaseController
|
|||
->withInput()
|
||||
->with('errors', $mediaModel->errors());
|
||||
}
|
||||
(new PodcastModel())->clearCache([
|
||||
'id' => $this->podcast->id,
|
||||
]);
|
||||
|
||||
// remove banner url from actor
|
||||
$actor = (new ActorModel())->getActorById($this->podcast->actor_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue