diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-02-09 13:01:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 13:01:31 +0100 |
commit | 47e03cb61df9bd9499d96aed6c01613e863740a4 (patch) | |
tree | 6260abb75573f938b47a0456e8bc81712a2426f0 /apps/files | |
parent | a353db2c316773d680f8cfedf036c2b9bc54c16e (diff) | |
parent | 5f5142ff583dfdc9ae82b01177c839f164bce2dc (diff) | |
download | nextcloud-server-47e03cb61df9bd9499d96aed6c01613e863740a4.tar.gz nextcloud-server-47e03cb61df9bd9499d96aed6c01613e863740a4.zip |
Merge pull request #31081 from nextcloud/bugfix/noid/dont-provide-favorite-activity-setting
Don't provide favorite activity settings
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/lib/Activity/Settings/FavoriteAction.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/files/lib/Activity/Settings/FavoriteAction.php b/apps/files/lib/Activity/Settings/FavoriteAction.php index 8c43b68ef88..3c6ceb23959 100644 --- a/apps/files/lib/Activity/Settings/FavoriteAction.php +++ b/apps/files/lib/Activity/Settings/FavoriteAction.php @@ -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; + } } |