Explorar o código

Update FollowPipeline

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
9d2b5c43ba
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      app/Jobs/FollowPipeline/FollowPipeline.php

+ 0 - 2
app/Jobs/FollowPipeline/FollowPipeline.php

@@ -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';