2014-11-19 01:06:39 +03:00
|
|
|
<?php
|
|
|
|
/**
|
2015-02-26 13:37:37 +03:00
|
|
|
* Copyright (c) Lukas Reschke <lukas@owncloud.com>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
2014-11-19 01:06:39 +03:00
|
|
|
*/
|
2015-02-26 13:37:37 +03:00
|
|
|
|
2014-11-19 01:06:39 +03:00
|
|
|
namespace OCA\Files_Trashbin;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class Capabilities
|
|
|
|
*
|
|
|
|
* @package OCA\Files_Trashbin
|
|
|
|
*/
|
|
|
|
class Capabilities {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @return \OC_OCS_Result
|
|
|
|
*/
|
|
|
|
public static function getCapabilities() {
|
|
|
|
return new \OC_OCS_Result(array(
|
|
|
|
'capabilities' => array(
|
|
|
|
'files' => array(
|
|
|
|
'undelete' => true,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
));
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|