feat(users): remove roles from profile view

This commit is contained in:
2022-09-02 10:49:57 +01:00
parent 6ae7de3094
commit 949f94bb5d
2 changed files with 0 additions and 13 deletions

View File

@@ -79,7 +79,6 @@ class ProfileController extends Controller
$createdDate = Carbon::parse($user->created_at);
$suspensionInfo = null;
if ($accountSuspensionService->isSuspended($user))
{
@@ -101,7 +100,6 @@ class ProfileController extends Controller
'discord' => $socialMediaProfiles['links']['discord'] ?? 'UpdateMe#12345',
'since' => $createdDate->englishMonth.' '.$createdDate->year,
'ipInfo' => IP::lookup($user->currentIp),
'roles' => $roleList,
'suspensionInfo' => $suspensionInfo
]);
} else {