diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-01 16:37:55 +0300 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-01 16:37:55 +0300 |
commit | b2dd5cb61655b6ca82e8fd1fb117b42301d28c2b (patch) | |
tree | 98e25e54bcefd00d0169cbf18cf930bce17228d3 /tests | |
parent | 64994facce890e53a50bc75047e502e434c9c749 (diff) |
save excluded groups in json format - fixes #10983
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/util.php b/tests/lib/util.php index 49579b3b6bd..eaa3d0795e3 100644 --- a/tests/lib/util.php +++ b/tests/lib/util.php @@ -303,7 +303,7 @@ class Test_Util extends \Test\TestCase { } $appConfig = \OC::$server->getAppConfig(); - $appConfig->setValue('core', 'shareapi_exclude_groups_list', implode(',', $excludedGroups)); + $appConfig->setValue('core', 'shareapi_exclude_groups_list', json_encode($excludedGroups)); $appConfig->setValue('core', 'shareapi_exclude_groups', 'yes'); $result = \OCP\Util::isSharingDisabledForUser(); |