From 9a373cb5bbe2cc56ba96f1a6dff298912f4d88e7 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 23 Sep 2015 10:27:35 +0200 Subject: 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 --- lib/private/share/share.php | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/private/share') 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; -- cgit v1.2.3