aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-18 11:22:29 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-18 11:22:29 +0200
commit370ed814f76012a97fd40d50c367b2f7240dfc09 (patch)
tree422ab056b315c51e4030e346eead7bb7d1e91914
parent2e79aab0ce7ec9fa88ccbafd01e82574b93514f9 (diff)
downloadnextcloud-server-370ed814f76012a97fd40d50c367b2f7240dfc09.tar.gz
nextcloud-server-370ed814f76012a97fd40d50c367b2f7240dfc09.zip
add permissions of the file to the json response
-rw-r--r--apps/files/ajax/upload.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php
index 1d03cd89f83..4f108910588 100644
--- a/apps/files/ajax/upload.php
+++ b/apps/files/ajax/upload.php
@@ -116,7 +116,8 @@ if (strpos($dir, '..') === false) {
'name' => basename($target),
'originalname' => $files['name'][$i],
'uploadMaxFilesize' => $maxUploadFileSize,
- 'maxHumanFilesize' => $maxHumanFileSize
+ 'maxHumanFilesize' => $maxHumanFileSize,
+ 'permissions' => $meta['permissions']
);
}
}