summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-02-25 09:35:35 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-02-25 09:35:35 +0100
commitcc1585238641a78ff3a0b311a29b92070e3766a7 (patch)
treeea6423a9a770d2e984d5031ea9291de63d86b137 /lib
parent1d1dfcbc1a528314b39322d0b8145e05072cd5ff (diff)
downloadnextcloud-server-cc1585238641a78ff3a0b311a29b92070e3766a7.tar.gz
nextcloud-server-cc1585238641a78ff3a0b311a29b92070e3766a7.zip
replace Sabre_DAV_Exception_FileNotFound with Sabre_DAV_Exception_NotFound
Diffstat (limited to 'lib')
-rw-r--r--lib/connector/sabre/directory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connector/sabre/directory.php b/lib/connector/sabre/directory.php
index bb03851e39d..d1cb55ce130 100644
--- a/lib/connector/sabre/directory.php
+++ b/lib/connector/sabre/directory.php
@@ -50,7 +50,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
$path = $this->path . '/' . $name;
- if (!OC_Filesystem::file_exists($path)) throw new Sabre_DAV_Exception_FileNotFound('File with name ' . $path . ' could not be located');
+ if (!OC_Filesystem::file_exists($path)) throw new Sabre_DAV_Exception_NotFound('File with name ' . $path . ' could not be located');
if (OC_Filesystem::is_dir($path)) {