mirror of
https://github.com/nextcloud/server.git
synced 2025-05-04 22:11:01 +00:00

This adds an admin setting to toggle Windows filename compatibility. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
28 lines
656 B
PHP
28 lines
656 B
PHP
<?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;
|
|
|
|
class PersonalSettings implements ISettings {
|
|
public function getForm(): TemplateResponse {
|
|
\OCP\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;
|
|
}
|
|
}
|