Update FollowPipeline

This commit is contained in:
Daniel Supernault 2019-06-23 23:50:20 -06:00
parent 73bacf5b8d
commit 9d2b5c43ba
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -61,8 +61,6 @@ class FollowPipeline implements ShouldQueue
$notification->item_type = "App\Profile";
$notification->save();
Cache::forever('notification.'.$notification->id, $notification);
Cache::forget('feature:discover:people:'.$actor->id);
$redis = Redis::connection();
$nkey = config('cache.prefix').':user.'.$target->id.'.notifications';