summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-09 17:00:03 +0200
committerGitHub <noreply@github.com>2018-08-09 17:00:03 +0200
commit46d340045da005547a03c9382c98610942dfac1f (patch)
tree6b49e932ade8e54a26c6d88199fdb1b88620c0a6 /core/js
parent88603e98f89de716eedb6b1c94e0bc1f3366db3c (diff)
parentb0917dfac94ac5d8f88e227406176dd639a5375a (diff)
downloadnextcloud-server-46d340045da005547a03c9382c98610942dfac1f.tar.gz
nextcloud-server-46d340045da005547a03c9382c98610942dfac1f.zip
Merge pull request #10598 from schoonc/patch-1
Removed unused variable isFile
Diffstat (limited to 'core/js')
-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;
}
}