mirror of
https://github.com/nextcloud/server.git
synced 2024-08-07 15:07:13 +02:00
ec5b60af28
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
48 lines
780 B
PHP
48 lines
780 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\Settings\Activity;
|
|
|
|
use OCP\Activity\ISetting;
|
|
use OCP\IL10N;
|
|
|
|
class SecuritySetting implements ISetting {
|
|
|
|
/** @var IL10N */
|
|
private $l10n;
|
|
|
|
public function __construct(IL10N $l10n) {
|
|
$this->l10n = $l10n;
|
|
}
|
|
|
|
public function canChangeMail() {
|
|
return false;
|
|
}
|
|
|
|
public function canChangeStream() {
|
|
return false;
|
|
}
|
|
|
|
public function getIdentifier() {
|
|
return 'security';
|
|
}
|
|
|
|
public function getName() {
|
|
return $this->l10n->t('Security');
|
|
}
|
|
|
|
public function getPriority() {
|
|
return 30;
|
|
}
|
|
|
|
public function isDefaultEnabledMail() {
|
|
return true;
|
|
}
|
|
|
|
public function isDefaultEnabledStream() {
|
|
return true;
|
|
}
|
|
}
|