summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/capabilities.php
blob: 3f137d22b6fe5ce15d94b385b6310ab65375b8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
 * 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.
 */
 
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,
					),
				),
			));
	}
	
}