mirror of
https://github.com/nextcloud/server.git
synced 2024-12-29 00:18:42 +00:00
afa48a4e0e
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
31 lines
558 B
PHP
31 lines
558 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
namespace OCA\Files_Trashbin;
|
|
|
|
use OCP\Capabilities\ICapability;
|
|
|
|
/**
|
|
* Class Capabilities
|
|
*
|
|
* @package OCA\Files_Trashbin
|
|
*/
|
|
class Capabilities implements ICapability {
|
|
|
|
/**
|
|
* Return this classes capabilities
|
|
*
|
|
* @return array{files: array{undelete: bool}}
|
|
*/
|
|
public function getCapabilities() {
|
|
return [
|
|
'files' => [
|
|
'undelete' => true
|
|
]
|
|
];
|
|
}
|
|
}
|