diff --git a/apps/files_sharing/lib/Controller/ShareAPIController.php b/apps/files_sharing/lib/Controller/ShareAPIController.php index 8f90195fe9602..759b19060c23b 100644 --- a/apps/files_sharing/lib/Controller/ShareAPIController.php +++ b/apps/files_sharing/lib/Controller/ShareAPIController.php @@ -718,7 +718,10 @@ public function createShare( $share->setSharedWith($shareWith); $share->setPermissions($permissions); +<<<<<<< HEAD +======= +>>>>>>> ec8a0a6267d (fix(shareApiController): avoid duplicated expiryDate operations) $share->setSharedWithDisplayName($this->getCachedFederatedDisplayName($shareWith, false)); } elseif ($shareType === IShare::TYPE_REMOTE_GROUP) { if (!$this->shareManager->outgoingServer2ServerGroupSharesAllowed()) { @@ -731,7 +734,10 @@ public function createShare( $share->setSharedWith($shareWith); $share->setPermissions($permissions); +<<<<<<< HEAD +======= +>>>>>>> ec8a0a6267d (fix(shareApiController): avoid duplicated expiryDate operations) } elseif ($shareType === IShare::TYPE_CIRCLE) { if (!\OC::$server->getAppManager()->isEnabledForUser('circles') || !class_exists('\OCA\Circles\ShareByCircleProvider')) { throw new OCSNotFoundException($this->l->t('You cannot share to a Circle if the app is not enabled'));