Update Profile, fix status count
This commit is contained in:
parent
b74e14c4e5
commit
6dcd472be6
5 changed files with 80 additions and 15 deletions
|
@ -210,6 +210,7 @@ class StatusController extends Controller
|
|||
}
|
||||
|
||||
Cache::forget('_api:statuses:recent_9:' . $status->profile_id);
|
||||
Cache::forget('profile:status_count:' . $status->profile_id);
|
||||
if ($status->profile_id == $user->profile->id || $user->is_admin == true) {
|
||||
Cache::forget('profile:status_count:'.$status->profile_id);
|
||||
StatusDelete::dispatch($status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue