diff --git a/core/js/files/client.js b/core/js/files/client.js index 7e0e136989..6ddd8b3555 100644 --- a/core/js/files/client.js +++ b/core/js/files/client.js @@ -330,12 +330,10 @@ } var resType = props[Client.PROPERTY_RESOURCETYPE]; - var isFile = true; if (!data.mimetype && resType) { var xmlvalue = resType[0]; if (xmlvalue.namespaceURI === Client.NS_DAV && xmlvalue.nodeName.split(':')[1] === 'collection') { data.mimetype = 'httpd/unix-directory'; - isFile = false; } }