1
0
Fork 0
forked from mirror/pixelfed

Update FollowerController

This commit is contained in:
Daniel Supernault 2019-04-28 17:49:24 -06:00
parent 0b1c03e5bf
commit 2f007f6826
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);
}
}