]> source.dussan.org Git - nextcloud-server.git/commit
Fix merging of external storage configurations
authorVincent Petry <pvince81@owncloud.com>
Wed, 26 Mar 2014 11:10:17 +0000 (12:10 +0100)
committerVincent Petry <pvince81@owncloud.com>
Wed, 26 Mar 2014 11:41:25 +0000 (12:41 +0100)
commite002b7242cb19a0e028d325cd64b57e67dc48108
tree2598e546f3099b95240ad93ad3ee3b92d236d240
parent75d8de378cd355671c310bcb62c35504a5c03f0a
Fix merging of external storage configurations

Merging of configurations is whenever the same config is available for
multiple users/groups, in which case the config is considered as a
single one by the UI, and shows multiple users/groups selected.

Fixed merging logic to make sure that class, mount point and options are
the same before merging them.

Fixed merging to work correctly when the same mount point path is used
for separate users and configs. These are now correctly shows in the UI
as separate entries.
apps/files_external/lib/config.php
apps/files_external/templates/settings.php
apps/files_external/tests/mountconfig.php