aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-07-31 08:19:54 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-31 08:19:54 +0200
commita309fa7d6b2b5b83ea266b081f74852a3988c9b2 (patch)
treeecf27d10d61f9e4a4f87a72d21d68cfb750b0e76
parentc43abe43b07370467cc80e8af2936df2b533aa06 (diff)
downloadnextcloud-server-a309fa7d6b2b5b83ea266b081f74852a3988c9b2.tar.gz
nextcloud-server-a309fa7d6b2b5b83ea266b081f74852a3988c9b2.zip
Disable default activity email for incoming shares
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r--apps/files_sharing/lib/Activity/Settings/RemoteShare.php2
-rw-r--r--apps/files_sharing/lib/Activity/Settings/Shared.php2
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 ef506999fc4..2a5cdcd995f 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 847469d25fd..97318dc79b3 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;
}
}