summaryrefslogtreecommitdiffstats
path: root/lib/private/Share20/DefaultShareProvider.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-07-12 16:09:05 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-21 15:02:18 +0200
commit73b88deeb8942e188a5e1e81f4bfca02412a0c5c (patch)
treea65abe508d1daa8bc83faf19f0e6c42c6d7f746e /lib/private/Share20/DefaultShareProvider.php
parentc116d116facb45683514cbb2d175b66e3d3c5c59 (diff)
downloadnextcloud-server-73b88deeb8942e188a5e1e81f4bfca02412a0c5c.tar.gz
nextcloud-server-73b88deeb8942e188a5e1e81f4bfca02412a0c5c.zip
add note to share object when reading it from the db
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Share20/DefaultShareProvider.php')
-rw-r--r--lib/private/Share20/DefaultShareProvider.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Share20/DefaultShareProvider.php b/lib/private/Share20/DefaultShareProvider.php
index 86eac45f88e..8ecd1e811ba 100644
--- a/lib/private/Share20/DefaultShareProvider.php
+++ b/lib/private/Share20/DefaultShareProvider.php
@@ -910,6 +910,7 @@ class DefaultShareProvider implements IShareProvider {
->setShareType((int)$data['share_type'])
->setPermissions((int)$data['permissions'])
->setTarget($data['file_target'])
+ ->setNote($data['note'])
->setMailSend((bool)$data['mail_send']);
$shareTime = new \DateTime();