mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 03:18:52 -06:00
Addressed reviews
This commit is contained in:
@@ -897,7 +897,6 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
"pattern": "^%user_id_pattern%$"
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"const": 1
|
||||
}
|
||||
}
|
||||
@@ -915,13 +914,11 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
"pattern": "^%user_id_pattern%$"
|
||||
},
|
||||
"type": {
|
||||
"type": "number",
|
||||
"const": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"GranteeGroupID": {
|
||||
"type": ["number", "null"],
|
||||
"const": null
|
||||
},
|
||||
"GranteeUserID": {
|
||||
@@ -937,7 +934,6 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"const": "events.SpaceShared"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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