2018-09-10 08:40:35 -04:00
|
|
|
<?php
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-09-10 08:40:35 -04:00
|
|
|
declare(strict_types=1);
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-09-10 08:40:35 -04:00
|
|
|
/**
|
2024-06-02 09:26:54 -04:00
|
|
|
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2018-09-10 08:40:35 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCA\Files_Trashbin\Sabre;
|
|
|
|
|
|
|
|
|
|
use Sabre\DAV\Exception\Forbidden;
|
|
|
|
|
use Sabre\DAV\IFile;
|
|
|
|
|
|
2020-04-10 10:56:50 -04:00
|
|
|
abstract class AbstractTrashFile extends AbstractTrash implements IFile, ITrash {
|
2018-09-10 08:40:35 -04:00
|
|
|
public function put($data) {
|
|
|
|
|
throw new Forbidden();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setName($name) {
|
|
|
|
|
throw new Forbidden();
|
|
|
|
|
}
|
|
|
|
|
}
|