aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Activity/Settings/FileChanged.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/Activity/Settings/FileChanged.php')
-rw-r--r--apps/files/lib/Activity/Settings/FileChanged.php32
1 files changed, 8 insertions, 24 deletions
diff --git a/apps/files/lib/Activity/Settings/FileChanged.php b/apps/files/lib/Activity/Settings/FileChanged.php
index bf3780a575f..aa684e5acb1 100644
--- a/apps/files/lib/Activity/Settings/FileChanged.php
+++ b/apps/files/lib/Activity/Settings/FileChanged.php
@@ -37,7 +37,7 @@ class FileChanged extends FileActivitySettings {
* @since 11.0.0
*/
public function getName() {
- return $this->l->t('A file or folder has been <strong>changed</strong> or <strong>renamed</strong>');
+ return $this->l->t('A file or folder has been <strong>changed</strong>');
}
/**
@@ -50,35 +50,19 @@ class FileChanged extends FileActivitySettings {
return 1;
}
- /**
- * @return bool True when the option can be changed for the stream
- * @since 11.0.0
- */
- public function canChangeStream() {
- return true;
+ public function canChangeMail() {
+ return false;
}
- /**
- * @return bool True when the option can be changed for the stream
- * @since 11.0.0
- */
- public function isDefaultEnabledStream() {
- return true;
+ public function isDefaultEnabledMail() {
+ return false;
}
- /**
- * @return bool True when the option can be changed for the mail
- * @since 11.0.0
- */
- public function canChangeMail() {
- return true;
+ public function canChangeNotification() {
+ return false;
}
- /**
- * @return bool True when the option can be changed for the stream
- * @since 11.0.0
- */
- public function isDefaultEnabledMail() {
+ public function isDefaultEnabledNotification() {
return false;
}
}