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
1 changed files with 2 additions and 0 deletions

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