summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-09-15 14:37:10 +0200
committerVincent Petry <vincent@nextcloud.com>2021-09-15 14:55:52 +0200
commit04385c7eaaea7a77023daecaab8fc5add15176aa (patch)
treea4f33dd13fe96edc793da21ac17f48378600ed09 /config
parent995aa6518357b9f371ced5ba8941dfd2a02b0d97 (diff)
downloadnextcloud-server-04385c7eaaea7a77023daecaab8fc5add15176aa.tar.gz
nextcloud-server-04385c7eaaea7a77023daecaab8fc5add15176aa.zip
Add config.php option for transfer ownership
Add option to specify whether to transfer incoming shares by default. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index 9a090326ea1..845db00ac12 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -1497,6 +1497,13 @@ $CONFIG = [
*/
'sharing.enable_share_mail' => true,
+/**
+ * Set to true to always transfer incoming shares by default
+ * when running "occ files:transfer-ownership".
+ * Defaults to false, so incoming shares are not transferred if not specifically requested
+ * by a command line argument.
+ */
+'transferIncomingShares' => false,
/**
* All other configuration options