mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update MediaStorageService, clear MediaService and StatusService caches after localToCloud
This commit is contained in:
parent
08d64ede16
commit
de56b0f078
1 changed files with 2 additions and 0 deletions
|
@ -106,6 +106,8 @@ class MediaStorageService {
|
|||
$media->save();
|
||||
if($media->status_id) {
|
||||
Cache::forget('status:transformer:media:attachments:' . $media->status_id);
|
||||
MediaService::del($media->status_id);
|
||||
StatusService::del($media->status_id, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue