diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2024-08-01 09:28:26 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-08-01 11:03:24 +0200 |
commit | 80231e60aab2816f7d548b2d59b477ed865bcf9a (patch) | |
tree | 6319fdb10437fdf4285612ebc560d195f986049b /apps/comments | |
parent | c52b7e5ebc6736de2d9991af379e4ed9885aab7b (diff) | |
download | nextcloud-server-80231e60aab2816f7d548b2d59b477ed865bcf9a.tar.gz nextcloud-server-80231e60aab2816f7d548b2d59b477ed865bcf9a.zip |
fix(activity): regroup Files and spltit sharing activity
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/lib/Activity/Setting.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/comments/lib/Activity/Setting.php b/apps/comments/lib/Activity/Setting.php index cc7c47784ac..9315aedc104 100644 --- a/apps/comments/lib/Activity/Setting.php +++ b/apps/comments/lib/Activity/Setting.php @@ -5,10 +5,10 @@ */ namespace OCA\Comments\Activity; -use OCP\Activity\ISetting; +use OCP\Activity\ActivitySettings; use OCP\IL10N; -class Setting implements ISetting { +class Setting extends ActivitySettings { public function __construct( protected IL10N $l, ) { @@ -22,6 +22,14 @@ class Setting implements ISetting { return $this->l->t('<strong>Comments</strong> for files'); } + public function getGroupIdentifier() { + return 'files'; + } + + public function getGroupName() { + return $this->l->t('Files'); + } + public function getPriority(): int { return 50; } |