Remove display names
This commit is contained in:
1 parent
c754df44c3
commit
b7271bf6d2
11 files changed
+17
-131
No files matched your search
@@ -64,7 +64,6 @@ if ($result->num_rows > 0) {
|
||||
$info = [
|
||||
'uid' => $userInfo['uid'],
|
||||
'username' => $userInfo['username'],
|
||||
'displayName' => $userInfo['display_name'] ?? $userInfo['username'],
|
||||
'discordId' => $userInfo['discord_id'],
|
||||
'role' => $role,
|
||||
'registerTime' => $userInfo['register_time'],
|
||||
@@ -73,7 +72,7 @@ if ($result->num_rows > 0) {
|
||||
|
||||
$response = [
|
||||
'success' => true,
|
||||
'response' => 'Information for user "' . $userInfo['display_name'] . '"',
|
||||
'response' => 'Information for user "' . $userInfo['username'] . '"',
|
||||
'userinfo' => $info,
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user