From 32995064ec1a39ce88ebbaeb5644b6cbcbfd216a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 6 Sep 2021 00:29:06 -0600 Subject: [PATCH] Update Profile model --- app/Profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Profile.php b/app/Profile.php index fbaa1878d..2c216e6d7 100644 --- a/app/Profile.php +++ b/app/Profile.php @@ -65,7 +65,7 @@ class Profile extends Model public function followingCount($short = false) { - $count = Cache::remember('profile:following_count:v1:'.$this->id, now()->addMonths(1), function() { + $count = Cache::remember('profile:following_count:'.$this->id, now()->addMonths(1), function() { if($this->domain == null && $this->user->settings->show_profile_following_count == false) { return 0; } @@ -82,7 +82,7 @@ class Profile extends Model public function followerCount($short = false) { - $count = Cache::remember('profile:follower_count:v1:'.$this->id, now()->addMonths(1), function() { + $count = Cache::remember('profile:follower_count:'.$this->id, now()->addMonths(1), function() { if($this->domain == null && $this->user->settings->show_profile_follower_count == false) { return 0; }