summaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Activity/Settings/FileFavoriteChanged.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/Activity/Settings/FileFavoriteChanged.php')
-rw-r--r--apps/files/lib/Activity/Settings/FileFavoriteChanged.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php
index d0bba21cf9b..d71c9f744a0 100644
--- a/apps/files/lib/Activity/Settings/FileFavoriteChanged.php
+++ b/apps/files/lib/Activity/Settings/FileFavoriteChanged.php
@@ -72,7 +72,11 @@ class FileFavoriteChanged extends FileActivitySettings {
* @since 11.0.0
*/
public function canChangeMail() {
- return true;
+ return false;
+ }
+
+ public function canChangeNotification() {
+ return false;
}
/**
@@ -84,6 +88,6 @@ class FileFavoriteChanged extends FileActivitySettings {
}
public function isDefaultEnabledNotification() {
- return true;
+ return false;
}
}