]> source.dussan.org Git - nextcloud-server.git/commitdiff
switch instance id and file id
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 25 Oct 2013 11:20:29 +0000 (13:20 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 25 Oct 2013 11:20:29 +0000 (13:20 +0200)
lib/private/connector/sabre/node.php

index 76fbc251100d18543ed77dbc8fbee8ce74423f74..993aa73faeb15b54c0d9040572b98c49626b6d71 100644 (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;