summaryrefslogtreecommitdiffstats
path: root/core/js/files
diff options
context:
space:
mode:
authorschoonc <schoonc@users.noreply.github.com>2018-08-09 00:30:42 +0300
committerGitHub <noreply@github.com>2018-08-09 00:30:42 +0300
commitb0917dfac94ac5d8f88e227406176dd639a5375a (patch)
treea0b833303e89101316a9c54e27b29b65d486b83b /core/js/files
parent7648bb05e9ea179726aec032ab0ca98afd3d36d6 (diff)
downloadnextcloud-server-b0917dfac94ac5d8f88e227406176dd639a5375a.tar.gz
nextcloud-server-b0917dfac94ac5d8f88e227406176dd639a5375a.zip
Removed unused variable isFile
Diffstat (limited to 'core/js/files')
-rw-r--r--core/js/files/client.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 7e0e136989a..6ddd8b35558 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;
}
}