replace Sabre_DAV_Exception_FileNotFound with Sabre_DAV_Exception_NotFound
This commit is contained in:
parent
1d1dfcbc1a
commit
cc15852386
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue