mirror of
https://github.com/nextcloud/server.git
synced 2025-05-05 06:20:44 +00:00
25 lines
614 B
PHP
25 lines
614 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'));
|
|
}
|
|
}
|