aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2024-08-01 09:28:26 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-08-01 11:03:24 +0200
commit80231e60aab2816f7d548b2d59b477ed865bcf9a (patch)
tree6319fdb10437fdf4285612ebc560d195f986049b /lib/private
parentc52b7e5ebc6736de2d9991af379e4ed9885aab7b (diff)
downloadnextcloud-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 'lib/private')
-rw-r--r--lib/private/Activity/ActivitySettingsAdapter.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/private/Activity/ActivitySettingsAdapter.php b/lib/private/Activity/ActivitySettingsAdapter.php
index bc0e60c1acb..5579685ccb8 100644
--- a/lib/private/Activity/ActivitySettingsAdapter.php
+++ b/lib/private/Activity/ActivitySettingsAdapter.php
@@ -17,12 +17,10 @@ use OCP\IL10N;
* class based one
*/
class ActivitySettingsAdapter extends ActivitySettings {
- private $oldSettings;
- private $l10n;
-
- public function __construct(ISetting $oldSettings, IL10N $l10n) {
- $this->oldSettings = $oldSettings;
- $this->l10n = $l10n;
+ public function __construct(
+ private ISetting $oldSettings,
+ private IL10N $l10n
+ ) {
}
public function getIdentifier() {