Merge pull request #31081 from nextcloud/bugfix/noid/dont-provide-favorite-activity-setting

Don't provide favorite activity settings
pull/31086/head
Joas Schilling 2 years ago committed by GitHub
commit 47e03cb61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}
}

Loading…
Cancel
Save