summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 17:00:54 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 17:00:54 +0200
commit7e0631b3b81a5669620122964d0326ead187de30 (patch)
tree9370b9d5ac99f148d2bc724f76c805b772af7d2d /apps/files/ajax
parent98ff8478301676c99ffefd5756ad22466dfb6acf (diff)
parentbd5cb1d801a16933b7b75af5c514caec2afa5fef (diff)
downloadnextcloud-server-7e0631b3b81a5669620122964d0326ead187de30.tar.gz
nextcloud-server-7e0631b3b81a5669620122964d0326ead187de30.zip
Merge branch 'master' into fix_3728_with_file_exists_dialog
Conflicts: apps/files/js/filelist.js
Diffstat (limited to 'apps/files/ajax')
-rw-r--r--apps/files/ajax/upload.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index 12724c0c5bc..3d5314afc89 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -127,7 +127,8 @@ if (strpos($dir, '..') === false) {
'name' => basename($target),
'originalname' => $files['tmp_name'][$i],
'uploadMaxFilesize' => $maxUploadFileSize,
- 'maxHumanFilesize' => $maxHumanFileSize
+ 'maxHumanFilesize' => $maxHumanFileSize,
+ 'permissions' => $meta['permissions'],
);
}
@@ -149,7 +150,8 @@ if (strpos($dir, '..') === false) {
'name' => basename($target),
'originalname' => $files['tmp_name'][$i],
'uploadMaxFilesize' => $maxUploadFileSize,
- 'maxHumanFilesize' => $maxHumanFileSize
+ 'maxHumanFilesize' => $maxHumanFileSize,
+ 'permissions' => $meta['permissions'],
);
}
}