Update FollowerController

This commit is contained in:
Daniel Supernault 2019-03-03 22:05:58 -07:00
parent fe964ebd38
commit 14261543ae
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -68,7 +68,9 @@ class FollowerController extends Controller
$follower->delete();
}
Cache::forget('profile:following:'.$target->id);
Cache::forget('profile:followers:'.$target->id);
Cache::forget('profile:following:'.$user->id);
Cache::forget('profile:followers:'.$user->id);
}
}