aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Direct/DirectFile.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/Direct/DirectFile.php')
-rw-r--r--apps/dav/lib/Direct/DirectFile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Direct/DirectFile.php b/apps/dav/lib/Direct/DirectFile.php
index 45d86fcaeae..3c684b83ef2 100644
--- a/apps/dav/lib/Direct/DirectFile.php
+++ b/apps/dav/lib/Direct/DirectFile.php
@@ -96,7 +96,7 @@ class DirectFile implements IFile {
throw new NotFound();
}
if (!$file instanceof File) {
- throw new Forbidden("direct download not allowed on directories");
+ throw new Forbidden('direct download not allowed on directories');
}
$this->file = $file;