Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable27] display displayname on federated shares #39269

Merged
merged 1 commit into from
Jul 11, 2023

Conversation

ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Jul 10, 2023

backport of #35915

@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $shareWith has no provided type
@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $shareId has no provided type
@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $ownerFederatedId has no provided type
@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $sharedByFederatedId has no provided type
@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $name has no provided type
@@ -335,13 +341,13 @@
return $result;
}

private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name): void {
private function notifyAboutNewShare($shareWith, $shareId, $ownerFederatedId, $sharedByFederatedId, $name, $displayName): void {

Check notice

Code scanning / Psalm

MissingParamType

Parameter $displayName has no provided type
'strict_search' => true,
]);
try {
$result = \OC::$server->getContactsManager()->search($query, [$property], [

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OC\Server::getContactsManager has been marked as deprecated
@blizzz blizzz added this to the Nextcloud 27.0.1 milestone Jul 11, 2023
@blizzz blizzz added 3. to review Waiting for reviews 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 11, 2023
@blizzz
Copy link
Member

blizzz commented Jul 11, 2023

milestone and labels were missing

@blizzz blizzz merged commit 7fd10d5 into stable27 Jul 11, 2023
@blizzz blizzz deleted the backport/35915/35915-stable27 branch July 11, 2023 15:57
@blizzz blizzz mentioned this pull request Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants