revert: upc anonMode

This commit is contained in:
Zack Spear
2021-09-10 13:45:05 -07:00
parent 5bc31b9ed5
commit 28c8eadf87
3 changed files with 2 additions and 8 deletions

View File

@@ -287,10 +287,6 @@
'iAgree' => _('I agree to the'),
'text' => _('Terms of Use'),
],
'anonMode' => [
'name' => _('Anonymous Mode'),
'label' => _('Keep server details anonymous'),
],
],
'routes' => [
'extendTrial' => [
@@ -453,7 +449,6 @@
];
// feeds server vars to Vuex store in a slightly different array than state.php
$serverstate = [
"anonMode" => $remote['anonMode'] === 'true',
"avatar" => $remote['avatar'],
"deviceCount" => $var['deviceCount'],
"email" => ($remote['email']) ? $remote['email'] : '',

View File

@@ -53,7 +53,6 @@ $arr['keyfile'] = $key_contents;
$arr['reggen'] = $var['regGen'];
$arr['flashproduct'] = $var['flashProduct'];
$arr['flashvendor'] = $var['flashVendor'];
$arr['anonMode'] = $remote['anonMode'] === 'true';
$arr['servername'] = $var['NAME'];
$arr['serverdesc'] = $var['COMMENT'];
$arr['internalip'] = $_SERVER['SERVER_ADDR'];

File diff suppressed because one or more lines are too long