summaryrefslogtreecommitdiffstats
path: root/endpoints/lib
diff options
context:
space:
mode:
authorIan Moore <ian.moore@fireeye.com>2015-08-07 13:56:10 -0400
committerIan Moore <ian.moore@fireeye.com>2015-08-07 13:56:10 -0400
commit5c84162ce332cddd75a4f15414f7ab24ab89c071 (patch)
tree2ddb677839d3707f1657d0d3eb3399d74bd0ba8b /endpoints/lib
parent2a3cda7f1a11f7741b9074392fb7f6a2bc4bab6f (diff)
downloadphpvirtualbox-5c84162ce332cddd75a4f15414f7ab24ab89c071.zip
phpvirtualbox-5c84162ce332cddd75a4f15414f7ab24ab89c071.tar.gz
phpvirtualbox-5c84162ce332cddd75a4f15414f7ab24ab89c071.tar.bz2
More language fixes
Diffstat (limited to 'endpoints/lib')
-rw-r--r--endpoints/lib/vboxconnector.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php
index c813f78..071aaf1 100644
--- a/endpoints/lib/vboxconnector.php
+++ b/endpoints/lib/vboxconnector.php
@@ -1463,8 +1463,6 @@ class vboxconnector {
$m->setExtraData('phpvb/icon', $args['customIcon']);
}
- $m->setExtraData('GUI/SaveMountedAtRuntime', ($args['GUI']['SaveMountedAtRuntime'] == 'no' ? 'no' : 'yes'));
-
// VRDE settings
try {
if($m->VRDEServer && $this->vbox->systemProperties->defaultVRDEExtPack) {
@@ -1914,8 +1912,6 @@ class vboxconnector {
$m->VRAMSize = $args['VRAMSize'];
- $m->setExtraData('GUI/SaveMountedAtRuntime', ($args['GUI']['SaveMountedAtRuntime'] == 'no' ? 'no' : 'yes'));
-
// Video
$m->accelerate3DEnabled = $args['accelerate3DEnabled'];
$m->accelerate2DVideoEnabled = $args['accelerate2DVideoEnabled'];
@@ -3832,7 +3828,6 @@ class vboxconnector {
$this->session->machine->setExtraData('VBoxAuthSimple/users/'.$_SESSION['user'].'', $_SESSION['uHash']);
// Always set
- $this->session->machine->setExtraData('GUI/SaveMountedAtRuntime', 'yes');
$this->session->machine->setExtraData('GUI/FirstRun', 'yes');
try {
@@ -4261,8 +4256,7 @@ class vboxconnector {
'bootOrder' => $this->_machineGetBootOrder($m),
'chipsetType' => (string)$m->chipsetType,
'GUI' => array(
- 'SaveMountedAtRuntime' => $m->getExtraData('GUI/SaveMountedAtRuntime'),
- 'FirstRun' => $m->getExtraData('GUI/FirstRun')
+ 'FirstRun' => $m->getExtraData('GUI/FirstRun'),
),
'customIcon' => (@$this->settings->enableCustomIcons ? $m->getExtraData('phpvb/icon') : ''),
'disableHostTimeSync' => intval($m->getExtraData("VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled")),
@@ -5358,7 +5352,6 @@ class vboxconnector {
/* @var $machine IMachine */
$machine = $this->vbox->findMachine($args['vm']);
$state = (string)$machine->sessionState;
- $save = (strtolower($machine->getExtraData('GUI/SaveMountedAtRuntime')) == 'yes');
// create session
$this->session = $this->websessionManager->getSessionObject($this->vbox->handle);