diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-09-23 10:27:35 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-09-25 13:06:05 +0200 |
commit | 9a373cb5bbe2cc56ba96f1a6dff298912f4d88e7 (patch) | |
tree | 2825e1a192b36e3b6a93425dd04b32571bd02bef /lib/private/share | |
parent | bf73665a35470432ae939a70eb91ecf9f8933240 (diff) | |
download | nextcloud-server-9a373cb5bbe2cc56ba96f1a6dff298912f4d88e7.tar.gz nextcloud-server-9a373cb5bbe2cc56ba96f1a6dff298912f4d88e7.zip |
Do not blindy copy expiration date on reshare
If a file/folder is reshared we should not blindly copy the expiration
date of the parent share. User/Group shares do not have expiration dates
currently, and thus this is always set to null.
Fixes #19119
* Added testcase
Diffstat (limited to 'lib/private/share')
-rw-r--r-- | lib/private/share/share.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/share/share.php b/lib/private/share/share.php index 07c7f31a853..32389f34868 100644 --- a/lib/private/share/share.php +++ b/lib/private/share/share.php @@ -1998,7 +1998,6 @@ class Share extends Constants { $suggestedItemTarget = $result['suggestedItemTarget']; $suggestedFileTarget = $result['suggestedFileTarget']; $filePath = $result['filePath']; - $expirationDate = $result['expirationDate']; } $isGroupShare = false; |