replace Sabre_DAV_Exception_FileNotFound with Sabre_DAV_Exception_NotFound

This commit is contained in:
Georg Ehrke 2012-02-25 09:35:35 +01:00
parent 1d1dfcbc1a
commit cc15852386
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {