aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib/Sabre/AbstractTrashFile.php
blob: 03014d236695f326e0ec18311d1c214dff9c0c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

declare(strict_types=1);

/**
 * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCA\Files_Trashbin\Sabre;

use Sabre\DAV\Exception\Forbidden;
use Sabre\DAV\IFile;

abstract class AbstractTrashFile extends AbstractTrash implements IFile, ITrash {
	public function put($data) {
		throw new Forbidden();
	}

	public function setName($name) {
		throw new Forbidden();
	}
}