mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Merge pull request #28963 from nextcloud/backport/28853/stable21
[stable21] Don't allow to change activity settings that don't work
This commit is contained in:
commit
4009b3cc57
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue