2020-05-27 09:14:40 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2020-08-24 08:54:25 -04:00
|
|
|
|
2020-05-27 09:14:40 -04:00
|
|
|
/**
|
2024-05-27 11:39:07 -04:00
|
|
|
* SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2020-05-27 09:14:40 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\Comments;
|
|
|
|
|
|
|
|
|
|
use OCP\Capabilities\ICapability;
|
|
|
|
|
|
|
|
|
|
class Capabilities implements ICapability {
|
2023-06-29 01:48:16 -04:00
|
|
|
/**
|
|
|
|
|
* @return array{files: array{comments: bool}}
|
|
|
|
|
*/
|
2020-05-27 09:14:40 -04:00
|
|
|
public function getCapabilities(): array {
|
|
|
|
|
return [
|
|
|
|
|
'files' => [
|
|
|
|
|
'comments' => true,
|
|
|
|
|
]
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|