From fb48cb2013f95bf60950f06e76c87b8f17dad445 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 2 Apr 2020 22:25:41 +0200 Subject: [PATCH 1/3] Multi cache pool support --- plugins/dynamix/ShareEdit.page | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/dynamix/ShareEdit.page b/plugins/dynamix/ShareEdit.page index f86c923d9..bd31740f5 100644 --- a/plugins/dynamix/ShareEdit.page +++ b/plugins/dynamix/ShareEdit.page @@ -50,8 +50,7 @@ function globalInclude($name) { } // global shares include/exclude -$disks = array_filter($disks,'my_disks'); -$myDisks = array_filter(array_diff(array_keys($disks), explode(',',$var['shareUserExclude'])), 'globalInclude'); +$myDisks = array_filter(array_diff(array_keys(array_filter($disks,'my_disks')), explode(',',$var['shareUserExclude'])), 'globalInclude'); ?> :help3 > A *Share*, also called a *User Share*, is simply the name of a top-level directory that exists on one or more of your From c05adf6034ba45bb22c9357449f4a46b23c6c90c Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 2 Apr 2020 22:29:29 +0200 Subject: [PATCH 2/3] Revert "Multi cache pool support" This reverts commit fb48cb2013f95bf60950f06e76c87b8f17dad445. --- plugins/dynamix/ShareEdit.page | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/dynamix/ShareEdit.page b/plugins/dynamix/ShareEdit.page index bd31740f5..f86c923d9 100644 --- a/plugins/dynamix/ShareEdit.page +++ b/plugins/dynamix/ShareEdit.page @@ -50,7 +50,8 @@ function globalInclude($name) { } // global shares include/exclude -$myDisks = array_filter(array_diff(array_keys(array_filter($disks,'my_disks')), explode(',',$var['shareUserExclude'])), 'globalInclude'); +$disks = array_filter($disks,'my_disks'); +$myDisks = array_filter(array_diff(array_keys($disks), explode(',',$var['shareUserExclude'])), 'globalInclude'); ?> :help3 > A *Share*, also called a *User Share*, is simply the name of a top-level directory that exists on one or more of your From 6ecba09194cfa11b2ce1adeb2ba0d4077c73b3d5 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 2 Apr 2020 22:30:47 +0200 Subject: [PATCH 3/3] Multi cache pool support --- plugins/dynamix/ShareEdit.page | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/dynamix/ShareEdit.page b/plugins/dynamix/ShareEdit.page index f86c923d9..bd31740f5 100644 --- a/plugins/dynamix/ShareEdit.page +++ b/plugins/dynamix/ShareEdit.page @@ -50,8 +50,7 @@ function globalInclude($name) { } // global shares include/exclude -$disks = array_filter($disks,'my_disks'); -$myDisks = array_filter(array_diff(array_keys($disks), explode(',',$var['shareUserExclude'])), 'globalInclude'); +$myDisks = array_filter(array_diff(array_keys(array_filter($disks,'my_disks')), explode(',',$var['shareUserExclude'])), 'globalInclude'); ?> :help3 > A *Share*, also called a *User Share*, is simply the name of a top-level directory that exists on one or more of your