mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
53 lines
938 B
PHP
53 lines
938 B
PHP
<?php
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\Comments\Activity;
|
|
|
|
use OCP\Activity\ActivitySettings;
|
|
use OCP\IL10N;
|
|
|
|
class Setting extends ActivitySettings {
|
|
public function __construct(
|
|
protected IL10N $l,
|
|
) {
|
|
}
|
|
|
|
public function getIdentifier(): string {
|
|
return 'comments';
|
|
}
|
|
|
|
public function getName(): string {
|
|
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;
|
|
}
|
|
|
|
public function canChangeStream(): bool {
|
|
return true;
|
|
}
|
|
|
|
public function isDefaultEnabledStream(): bool {
|
|
return true;
|
|
}
|
|
|
|
public function canChangeMail(): bool {
|
|
return true;
|
|
}
|
|
|
|
public function isDefaultEnabledMail(): bool {
|
|
return false;
|
|
}
|
|
}
|