Daniel Supernault 6 лет назад
Родитель
Сommit
9d2b5c43ba
1 измененных файлов с 0 добавлено и 2 удалено
  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->item_type = "App\Profile";
             $notification->save();
             $notification->save();
 
 
-            Cache::forever('notification.'.$notification->id, $notification);
-            Cache::forget('feature:discover:people:'.$actor->id);
             $redis = Redis::connection();
             $redis = Redis::connection();
 
 
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';
             $nkey = config('cache.prefix').':user.'.$target->id.'.notifications';