mirror of
https://github.com/unraid/webgui.git
synced 2026-01-25 19:19:06 -06:00
Merge pull request #995 from zackspear/master
remove(upc): usage of sendCrashInfo
This commit is contained in:
@@ -506,7 +506,6 @@
|
||||
metacolor="<?=($display['headermetacolor']) ? '#'.$display['headermetacolor'] : ''?>"
|
||||
plg-path="dynamix.my.servers"
|
||||
reg-wiz-time="<?=($remote['regWizTime']) ? $remote['regWizTime'] : ''?>"
|
||||
send-crash-info="<?=$remote['sendCrashInfo']??''?>"
|
||||
serverdesc="<?=$var['COMMENT']?>"
|
||||
servermodel="<?=$var['SYS_MODEL']?>"
|
||||
serverstate="<?=rawurlencode(json_encode($serverstate, JSON_UNESCAPED_SLASHES))?>"
|
||||
|
||||
@@ -36,12 +36,10 @@ if (empty($remote['username'])) {
|
||||
$arr['registered'] = 0;
|
||||
$arr['username'] = '';
|
||||
$arr['avatar'] = '';
|
||||
$arr['sendCrashInfo'] = 0;
|
||||
} else {
|
||||
$arr['registered'] = 1;
|
||||
$arr['username'] = $remote['username'];
|
||||
$arr['avatar'] = $remote['avatar'];
|
||||
$arr['sendCrashInfo'] = $remote['sendCrashInfo'] || 'no';
|
||||
}
|
||||
$arr['event'] = 'STATE';
|
||||
$arr['ts'] = time();
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user