Fix undefined variable - found by Phan

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2018-04-23 11:30:22 +02:00
parent 3ff041f86d
commit 67dcff7a1f
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}