Skip to content

Commit dbe44db

Browse files
Merge pull request #56786 from nextcloud/backport/56527/stable31
2 parents a7851c9 + 0498068 commit dbe44db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dav/lib/Connector/Sabre/QuotaPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
namespace OCA\DAV\Connector\Sabre;
1010

1111
use OC\Files\View;
12-
use OCA\DAV\Upload\FutureFile;
1312
use OCA\DAV\Upload\UploadFolder;
1413
use OCP\Files\StorageNotAvailableException;
1514
use Sabre\DAV\Exception\InsufficientStorage;
1615
use Sabre\DAV\Exception\ServiceUnavailable;
16+
use Sabre\DAV\IFile;
1717
use Sabre\DAV\INode;
1818
use Sabre\HTTP\RequestInterface;
1919
use Sabre\HTTP\ResponseInterface;
@@ -138,7 +138,7 @@ public function beforeWriteContent($uri, INode $node, $data, $modified) {
138138
*/
139139
public function beforeMove(string $sourcePath, string $destinationPath): bool {
140140
$sourceNode = $this->server->tree->getNodeForPath($sourcePath);
141-
if (!$sourceNode instanceof FutureFile) {
141+
if (!$sourceNode instanceof IFile) {
142142
return true;
143143
}
144144

0 commit comments

Comments
 (0)