mirror of
https://github.com/unraid/webgui.git
synced 2026-02-28 21:29:43 -06:00
latest change
This commit is contained in:
@@ -56,11 +56,6 @@ if ((! $share['cachePool']) && ($share['cachePool2'])) {
|
||||
$share['cachePool2'] = "";
|
||||
}
|
||||
|
||||
/* If useCache is "no" with an array, this is invalid and useCache has to be 'only'. */
|
||||
if ((! $poolsOnly) && ($share['useCache'] == "no")) {
|
||||
$share['useCache'] = 'only';
|
||||
}
|
||||
|
||||
/* Check for non existent pool device. */
|
||||
if (($share['cachePool'] && !in_array($share['cachePool'], $pools)) || ($poolsOnly && !$share['cachePool'])) {
|
||||
$poolDefined = false;
|
||||
@@ -645,7 +640,6 @@ function updateScreen(cache, slow) {
|
||||
secondaryDropdown.options[i].disabled = true;
|
||||
}
|
||||
secondaryDropdown.selectedIndex = 0;
|
||||
checkRequiredSecondary = false;
|
||||
|
||||
if (poolsOnly) {
|
||||
$('#moverDirection2').hide();
|
||||
|
||||
Reference in New Issue
Block a user