mirror of
https://github.com/nextcloud/server.git
synced 2025-03-13 07:53:51 +00:00
24 lines
613 B
PHP
24 lines
613 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
namespace OCA\DAV\Exception;
|
|
|
|
use Sabre\DAV\Exception\InsufficientStorage;
|
|
use Sabre\DAV\Server;
|
|
|
|
/**
|
|
* Class UnsupportedLimitOnInitialSyncException
|
|
*
|
|
* @package OCA\DAV\Exception
|
|
*/
|
|
class UnsupportedLimitOnInitialSyncException extends InsufficientStorage {
|
|
|
|
/**
|
|
* @inheritDoc
|
|
*/
|
|
public function serialize(Server $server, \DOMElement $errorNode) {
|
|
$errorNode->appendChild($errorNode->ownerDocument->createElementNS('DAV:', 'd:number-of-matches-within-limits'));
|
|
}
|
|
}
|