From 3bd119452645bd0ee792a67439861f5f63229e50 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 15 Sep 2021 14:37:10 +0200 Subject: [PATCH] Add config.php option for transfer ownership Add option to specify whether to transfer incoming shares by default. Signed-off-by: Vincent Petry --- config/config.sample.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/config.sample.php b/config/config.sample.php index e15afe48dc891..6fea4659c2b50 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1490,6 +1490,13 @@ */ '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