switch instance id and file id

This commit is contained in:
Thomas Müller 2013-10-25 13:20:29 +02:00
parent 3fc232370e
commit 3bca1519ee

View file

@ -276,7 +276,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
if (isset($this->fileinfo_cache['fileid'])) {
$instanceId = OC_Util::getInstanceId();
$id = sprintf('%08d', $this->fileinfo_cache['fileid']);
return $instanceId . $id;
return $id . $instanceId;
}
return null;