1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- <?php
- namespace OCA\Settings\Activity;
- use OCP\Activity\ISetting;
- use OCP\IL10N;
- class GroupSetting implements ISetting {
-
- protected $l;
-
- public function __construct(IL10N $l10n) {
- $this->l = $l10n;
- }
-
- public function getIdentifier(): string {
- return 'group_settings';
- }
-
- public function getName(): string {
- return $this->l->t('Your <strong>group memberships</strong> were modified');
- }
-
- public function getPriority(): int {
- return 0;
- }
-
- public function canChangeStream(): bool {
- return false;
- }
-
- public function isDefaultEnabledStream(): bool {
- return true;
- }
-
- public function canChangeMail(): bool {
- return true;
- }
-
- public function isDefaultEnabledMail(): bool {
- return true;
- }
- }
|