summaryrefslogtreecommitdiffstats
path: root/modules/vmstore.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-11 14:31:09 +0200
committerSimon Rettberg2014-06-11 14:31:09 +0200
commit62d6349c790076ec26edd6e10d617b2f4c385e8b (patch)
treeb2884200b75b34994ddfcfef06bff3d127427e73 /modules/vmstore.inc.php
parentReboot functionality on system status page (diff)
downloadslx-admin-62d6349c790076ec26edd6e10d617b2f4c385e8b.tar.gz
slx-admin-62d6349c790076ec26edd6e10d617b2f4c385e8b.tar.xz
slx-admin-62d6349c790076ec26edd6e10d617b2f4c385e8b.zip
Minor bug fixes and removal of dead code
Diffstat (limited to 'modules/vmstore.inc.php')
-rw-r--r--modules/vmstore.inc.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/vmstore.inc.php b/modules/vmstore.inc.php
index 9c8e5f42..8037d038 100644
--- a/modules/vmstore.inc.php
+++ b/modules/vmstore.inc.php
@@ -56,9 +56,6 @@ class Page_VmStore extends Page
Message::addError('value-invalid', 'nfsaddr', $vmstore['nfsaddr']);
Util::redirect('?do=VmStore');
}
- if ($storetype === 'nfs') $addr = $vmstore['nfsaddr'];
- if ($storetype === 'cifs') $addr = $vmstore['nfsaddr'];
- if ($storetype === 'internal') $addr = 'none';
Property::setVmStoreConfig($vmstore);
$this->mountTask = Trigger::mount();
}