summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-10-17 10:50:58 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-01 02:18:55 +0100
commit5e90711600ad74088c4a903fdd47cd80d8df69e8 (patch)
tree928b988782dc0bd30cc7c2600e8367f26cb5cf5b /lib
parentf377a61f90065439e2f176669079c00d522adf12 (diff)
downloadnextcloud-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')
-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 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();
}