Skip to content

Commit

Permalink
Merge pull request #10598 from schoonc/patch-1
Browse files Browse the repository at this point in the history
Removed unused variable isFile
  • Loading branch information
rullzer authored Aug 9, 2018
2 parents 88603e9 + b0917df commit 46d3400
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/js/files/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 46d3400

Please sign in to comment.