From 80231e60aab2816f7d548b2d59b477ed865bcf9a Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Thu, 1 Aug 2024 09:28:26 +0200 Subject: fix(activity): regroup Files and spltit sharing activity Signed-off-by: skjnldsv --- apps/comments/lib/Activity/Setting.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps/comments') 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('Comments for files'); } + public function getGroupIdentifier() { + return 'files'; + } + + public function getGroupName() { + return $this->l->t('Files'); + } + public function getPriority(): int { return 50; } -- cgit v1.2.3