diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-07-12 16:09:05 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-07-21 15:02:18 +0200 |
commit | 73b88deeb8942e188a5e1e81f4bfca02412a0c5c (patch) | |
tree | a65abe508d1daa8bc83faf19f0e6c42c6d7f746e /lib/private/Share20/DefaultShareProvider.php | |
parent | c116d116facb45683514cbb2d175b66e3d3c5c59 (diff) | |
download | nextcloud-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.php | 1 |
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(); |