Addressed reviews
This commit is contained in:
@@ -754,7 +754,7 @@ trait Sharing {
|
||||
$user = $this->getActualUsername($user);
|
||||
|
||||
if ($updateLastPublicLink) {
|
||||
$share_id = (FeatureContext::isUsingSharingNG()) ? $this->shareNgGetLastCreatedLinkShareID() : (string) $this->getLastCreatedPublicShare()->id;
|
||||
$share_id = ($this->isUsingSharingNG()) ? $this->shareNgGetLastCreatedLinkShareID() : (string) $this->getLastCreatedPublicShare()->id;
|
||||
} else {
|
||||
if ($shareOwner === null) {
|
||||
$share_id = $this->getLastCreatedUserGroupShareId();
|
||||
|
||||
Reference in New Issue
Block a user