From a309fa7d6b2b5b83ea266b081f74852a3988c9b2 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 31 Jul 2017 08:19:54 +0200 Subject: [PATCH] Disable default activity email for incoming shares Signed-off-by: Morris Jobke --- apps/files_sharing/lib/Activity/Settings/RemoteShare.php | 2 +- apps/files_sharing/lib/Activity/Settings/Shared.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php index ef506999fc..2a5cdcd995 100644 --- a/apps/files_sharing/lib/Activity/Settings/RemoteShare.php +++ b/apps/files_sharing/lib/Activity/Settings/RemoteShare.php @@ -92,7 +92,7 @@ class RemoteShare implements ISetting { * @since 11.0.0 */ public function isDefaultEnabledMail() { - return true; + return false; } } diff --git a/apps/files_sharing/lib/Activity/Settings/Shared.php b/apps/files_sharing/lib/Activity/Settings/Shared.php index 847469d25f..97318dc79b 100644 --- a/apps/files_sharing/lib/Activity/Settings/Shared.php +++ b/apps/files_sharing/lib/Activity/Settings/Shared.php @@ -92,7 +92,7 @@ class Shared implements ISetting { * @since 11.0.0 */ public function isDefaultEnabledMail() { - return true; + return false; } }