summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2014-04-09 12:09:28 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2014-04-09 12:09:28 +0200
commit9b0f28914341857d2de7b2aee8d2a00036b4c34e (patch)
treefaae1a38ac9c0f90d948fe5e81b327f5056635d1 /apps/files_sharing
parentfbb9e11a7e442bfef50c2d1a5c41aa0c349e7f22 (diff)
downloadnextcloud-server-9b0f28914341857d2de7b2aee8d2a00036b4c34e.tar.gz
nextcloud-server-9b0f28914341857d2de7b2aee8d2a00036b4c34e.zip
remove obsolete code
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/js/share.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index ea518f3b70e..3c7c9239a6c 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -45,11 +45,6 @@ $(document).ready(function() {
});
FileActions.register('all', 'Share', OC.PERMISSION_READ, OC.imagePath('core', 'actions/share'), function(filename) {
- var dir = $('#dir').val();
- var item = dir + '/' + filename;
- if (dir == '/') {
- item = dir + filename;
- }
var tr = FileList.findFileEl(filename);
var itemType = 'file';
if ($(tr).data('type') == 'dir') {