summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-23 11:30:22 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-23 11:30:22 +0200
commit67dcff7a1f04a6118adb377ead6bff3dbcfa9fa0 (patch)
tree58aa91792bfb526604fa582cefbb83d42561ba42 /lib
parent3ff041f86d936524674d2def257ddc4b15a2c105 (diff)
downloadnextcloud-server-67dcff7a1f04a6118adb377ead6bff3dbcfa9fa0.tar.gz
nextcloud-server-67dcff7a1f04a6118adb377ead6bff3dbcfa9fa0.zip
Fix undefined variable - found by Phan
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Storage/DAV.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/DAV.php b/lib/private/Files/Storage/DAV.php
index 1496fda5140..b3c2dc00189 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -770,7 +770,7 @@ class DAV extends Common {
if ($response === false) {
if ($path === '') {
// if root is gone it means the storage is not available
- throw new StorageNotAvailableException(get_class($e) . ': ' . $e->getMessage());
+ throw new StorageNotAvailableException('root is gone');
}
return false;
}