Forgot to return the fileinfo
This commit is contained in:
parent
3d2cd64a48
commit
8820cd934a
|
@ -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) {
|
||||||
|
|
|
@ -54,6 +54,7 @@ class OC_Files {
|
||||||
else {
|
else {
|
||||||
$info = OC_FileCache::get($path);
|
$info = OC_FileCache::get($path);
|
||||||
}
|
}
|
||||||
|
return $info;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue