diff options
Diffstat (limited to 'apps/files/lib/Settings/PersonalSettings.php')
-rw-r--r-- | apps/files/lib/Settings/PersonalSettings.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/files/lib/Settings/PersonalSettings.php b/apps/files/lib/Settings/PersonalSettings.php new file mode 100644 index 00000000000..fe43265bc13 --- /dev/null +++ b/apps/files/lib/Settings/PersonalSettings.php @@ -0,0 +1,29 @@ +<?php + +declare(strict_types=1); + +/** + * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors + * SPDX-License-Identifier: AGPL-3.0-or-later + */ +namespace OCA\Files\Settings; + +use OCA\Files\AppInfo\Application; +use OCP\AppFramework\Http\TemplateResponse; +use OCP\Settings\ISettings; +use OCP\Util; + +class PersonalSettings implements ISettings { + public function getForm(): TemplateResponse { + Util::addScript(Application::APP_ID, 'settings-personal'); + return new TemplateResponse(Application::APP_ID, 'settings-personal'); + } + + public function getSection(): string { + return 'sharing'; + } + + public function getPriority(): int { + return 90; + } +} |