Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-01 16:37:55 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-01 16:37:55 +0300
commitb2dd5cb61655b6ca82e8fd1fb117b42301d28c2b (patch)
tree98e25e54bcefd00d0169cbf18cf930bce17228d3 /tests
parent64994facce890e53a50bc75047e502e434c9c749 (diff)
save excluded groups in json format - fixes #10983
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/util.php2
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();