summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js')
-rw-r--r--core/js/files/client.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 82cf3ff5121..608c2702fbb 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -303,10 +303,6 @@
}
break;
case 'W':
- if (isFile) {
- // also add create permissions
- data.permissions |= OC.PERMISSION_CREATE;
- }
data.permissions |= OC.PERMISSION_UPDATE;
break;
case 'D':