Forgot to return the fileinfo
This commit is contained in:
parent
3d2cd64a48
commit
8820cd934a
2 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
|
|||
|
||||
$path = $this->path . '/' . $name;
|
||||
if (is_null($info)) {
|
||||
OC_Files::getFileInfo($path);
|
||||
$info = OC_Files::getFileInfo($path);
|
||||
}
|
||||
|
||||
if (!$info) {
|
||||
|
|
|
@ -54,6 +54,7 @@ class OC_Files {
|
|||
else {
|
||||
$info = OC_FileCache::get($path);
|
||||
}
|
||||
return $info;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue