From b0917dfac94ac5d8f88e227406176dd639a5375a Mon Sep 17 00:00:00 2001 From: schoonc Date: Thu, 9 Aug 2018 00:30:42 +0300 Subject: [PATCH] Removed unused variable isFile --- core/js/files/client.js | 2 -- 1 file changed, 2 deletions(-) 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; } }