feat(users): remove roles from profile view
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user