summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-04-23 11:30:22 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-05-29 15:12:10 +0200
commit6a4a7c868cb6fa5acff389853355882f7a4c13b8 (patch)
treeb2e3ff0c6a5da8f68d24e17c5b6507faf1110f10 /lib/private
parentaf2ecbbd5a81d8e1621ecda1784a99adb0fc43dd (diff)
downloadnextcloud-server-6a4a7c868cb6fa5acff389853355882f7a4c13b8.tar.gz
nextcloud-server-6a4a7c868cb6fa5acff389853355882f7a4c13b8.zip
Fix undefined variable - found by Phan
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private')
-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 6585dd862e4..8019c4c0758 100644
--- a/lib/private/Files/Storage/DAV.php
+++ b/lib/private/Files/Storage/DAV.php
@@ -774,7 +774,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;
}