Skip to content

Commit 5bdc41c

Browse files
authored
Apply suggestion from @susnux
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 5587f1a commit 5bdc41c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/dav/lib/Upload/ChunkingV2Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function initialize(Server $server) {
9494
$this->server = $server;
9595
}
9696

97-
protected function beforeGet(RequestInterface $request) {
97+
public function beforeGet(RequestInterface $request) {
9898
$sourceNode = $this->server->tree->getNodeForPath($request->getPath());
9999
if (($sourceNode instanceof FutureFile) || ($sourceNode instanceof UploadFile)) {
100100
throw new MethodNotAllowed('Reading intermediate uploads is not allowed');

0 commit comments

Comments
 (0)