Merge pull request #31085 from nextcloud/backport/31081/stable22

[stable22] Don't provide favorite activity settings
This commit is contained in:
Louis 2022-02-17 17:46:24 +01:00 committed by GitHub
commit f16b11eb2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,7 +55,7 @@ class FavoriteAction extends FileActivitySettings {
* @since 11.0.0
*/
public function canChangeStream() {
return true;
return false;
}
/**
@ -71,7 +71,7 @@ class FavoriteAction extends FileActivitySettings {
* @since 11.0.0
*/
public function canChangeMail() {
return true;
return false;
}
/**
@ -81,4 +81,12 @@ class FavoriteAction extends FileActivitySettings {
public function isDefaultEnabledMail() {
return false;
}
/**
* @return bool True when the option can be changed for the notification
* @since 20.0.0
*/
public function canChangeNotification() {
return false;
}
}