aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/dav/lib/Connector/Sabre/QuotaPlugin.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php
index ca6eb93b145..62173702b7b 100644
--- a/apps/dav/lib/Connector/Sabre/QuotaPlugin.php
+++ b/apps/dav/lib/Connector/Sabre/QuotaPlugin.php
@@ -257,6 +257,9 @@ class QuotaPlugin extends \Sabre\DAV\ServerPlugin {
if (isset($chunkHandler)) {
$chunkHandler->cleanup();
}
+ if ($isDir) {
+ throw new InsufficientStorage("Insufficient space in $path. $freeSpace available. Cannot create directory");
+ }
throw new InsufficientStorage("Insufficient space in $path, $length required, $freeSpace available");
}
}