summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-05-17 09:46:09 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-05-17 09:46:09 +0200
commit7ef9cbd64ab481b6a069d865d36846abfaa3703b (patch)
tree14d8f03c8470d7e5260fc1bbcf2e730fa4e95e7b
parentd856793db03a719dce3cd3f418de36babd037219 (diff)
downloadnextcloud-server-7ef9cbd64ab481b6a069d865d36846abfaa3703b.tar.gz
nextcloud-server-7ef9cbd64ab481b6a069d865d36846abfaa3703b.zip
Correctly load server2server sharing configs
-rw-r--r--lib/private/appconfig.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/private/appconfig.php b/lib/private/appconfig.php
index bfb4758dce9..a03d02adca1 100644
--- a/lib/private/appconfig.php
+++ b/lib/private/appconfig.php
@@ -284,7 +284,13 @@ class AppConfig implements IAppConfig {
$sql->expr()->in('configkey', $sql->createParameter('legit_configs'))
))
->setParameter('appid', 'files_sharing', \PDO::PARAM_STR)
- ->setParameter('legit_configs', ['enabled', 'installed_version', 'types'], Connection::PARAM_STR_ARRAY);
+ ->setParameter('legit_configs', [
+ 'enabled',
+ 'installed_version',
+ 'types',
+ 'incoming_server2server_share_enabled',
+ 'outgoing_server2server_share_enabled',
+ ], Connection::PARAM_STR_ARRAY);
$result = $sql->execute();
while ($row = $result->fetch()) {