Merge pull request #10598 from schoonc/patch-1

Removed unused variable isFile
This commit is contained in:
Roeland Jago Douma 2018-08-09 17:00:03 +02:00 committed by GitHub
commit 46d340045d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}
}