diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2018-10-17 10:50:58 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-11-01 02:18:55 +0100 |
commit | 5e90711600ad74088c4a903fdd47cd80d8df69e8 (patch) | |
tree | 928b988782dc0bd30cc7c2600e8367f26cb5cf5b /lib/private/Share20 | |
parent | f377a61f90065439e2f176669079c00d522adf12 (diff) | |
download | nextcloud-server-5e90711600ad74088c4a903fdd47cd80d8df69e8.tar.gz nextcloud-server-5e90711600ad74088c4a903fdd47cd80d8df69e8.zip |
allow to update lables for public link shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Share20')
-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 dc0ecea8807..50111054546 100644 --- a/lib/private/Share20/DefaultShareProvider.php +++ b/lib/private/Share20/DefaultShareProvider.php @@ -301,6 +301,7 @@ class DefaultShareProvider implements IShareProvider { ->set('token', $qb->createNamedParameter($share->getToken())) ->set('expiration', $qb->createNamedParameter($share->getExpirationDate(), IQueryBuilder::PARAM_DATE)) ->set('note', $qb->createNamedParameter($share->getNote())) + ->set('label', $qb->createNamedParameter($share->getLabel())) ->set('hide_download', $qb->createNamedParameter($share->getHideDownload() ? 1 : 0), IQueryBuilder::PARAM_INT) ->execute(); } |