add note to share object when reading it from the db
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
c116d116fa
commit
73b88deeb8
|
@ -957,6 +957,7 @@ class ShareByMailProvider implements IShareProvider {
|
|||
->setPermissions((int)$data['permissions'])
|
||||
->setTarget($data['file_target'])
|
||||
->setMailSend((bool)$data['mail_send'])
|
||||
->setNote($data['note'])
|
||||
->setToken($data['token']);
|
||||
|
||||
$shareTime = new \DateTime();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue