From 2f007f68265710d70044e7e9dc613cd4d6700879 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 28 Apr 2019 17:49:24 -0600 Subject: [PATCH] Update FollowerController --- app/Http/Controllers/FollowerController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Http/Controllers/FollowerController.php b/app/Http/Controllers/FollowerController.php index 113d470c..f8cec93b 100644 --- a/app/Http/Controllers/FollowerController.php +++ b/app/Http/Controllers/FollowerController.php @@ -57,6 +57,9 @@ class FollowerController extends Controller 'follower_id' => $user->id, 'following_id' => $target->id ]); + if($remote == true) { + + } } elseif ($isFollowing == 0) { $follower = new Follower(); $follower->profile_id = $user->id; @@ -72,5 +75,6 @@ class FollowerController extends Controller Cache::forget('profile:followers:'.$target->id); Cache::forget('profile:following:'.$user->id); Cache::forget('profile:followers:'.$user->id); + Cache::forget('api:local:exp:rec:'.$user->id); } }