mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update StatusController
This commit is contained in:
parent
5ac1746aff
commit
3244ca92ff
1 changed files with 1 additions and 0 deletions
|
@ -200,6 +200,7 @@ class StatusController extends Controller
|
||||||
$u->save();
|
$u->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Cache::forget('_api:statuses:recent_9:' . $status->profile_id);
|
||||||
if ($status->profile_id == $user->profile->id || $user->is_admin == true) {
|
if ($status->profile_id == $user->profile->id || $user->is_admin == true) {
|
||||||
Cache::forget('profile:status_count:'.$status->profile_id);
|
Cache::forget('profile:status_count:'.$status->profile_id);
|
||||||
StatusDelete::dispatch($status);
|
StatusDelete::dispatch($status);
|
||||||
|
|
Loading…
Reference in a new issue