mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
Don't allow to change activity settings that don't work
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
5cf9d7e2ea
commit
504222af99
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