Forgot to return the fileinfo

This commit is contained in:
Bart Visscher 2012-09-21 21:28:53 +02:00
parent 3d2cd64a48
commit 8820cd934a
2 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,7 @@ class OC_Connector_Sabre_Directory extends OC_Connector_Sabre_Node implements Sa
$path = $this->path . '/' . $name; $path = $this->path . '/' . $name;
if (is_null($info)) { if (is_null($info)) {
OC_Files::getFileInfo($path); $info = OC_Files::getFileInfo($path);
} }
if (!$info) { if (!$info) {

View File

@ -54,6 +54,7 @@ class OC_Files {
else { else {
$info = OC_FileCache::get($path); $info = OC_FileCache::get($path);
} }
return $info;
} }
/** /**