Skip to content

[stable30] fix(lookup-server): disable when not using global scale - #51406

Merged
AndyScherzinger merged 4 commits into
stable30from
backport/51404/stable30
Mar 11, 2025
Merged

[stable30] fix(lookup-server): disable when not using global scale#51406
AndyScherzinger merged 4 commits into
stable30from
backport/51404/stable30

Conversation

@backportbot

@backportbotbackportbotBot commented Mar 11, 2025

Copy link
Copy Markdown

Backport of #51404

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Remove all the empty commits

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot
backportbotBot requested a review from susnuxMarch 11, 2025 20:44
@backportbotbackportbotBot added bug 3. to review Waiting for reviews labels Mar 11, 2025
@backportbotbackportbotBot added this to the Nextcloud 30.0.7 milestone Mar 11, 2025
@susnuxsusnux changed the title [stable30] [stable31] fix(lookup-server): disable when not using global scale[stable30] fix(lookup-server): disable when not using global scaleMar 11, 2025
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Comment threadapps/files_sharing/lib/Controller/ShareesAPIController.php Fixed
@susnux
susnuxforce-pushed the backport/51404/stable30 branch from 33a83f0 to 8215485CompareMarch 11, 2025 20:50
@susnux
susnux marked this pull request as ready for review March 11, 2025 20:51
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnuxforce-pushed the backport/51404/stable30 branch from 8215485 to 4e81dc4CompareMarch 11, 2025 20:52
}
$result = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'yes');
return ($result === 'yes');
$result = $this->config->getAppValue('files_sharing', 'lookupServerEnabled', 'no') === 'yes';

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OCP\IConfig::getAppValue has been marked as deprecated
}
$result = $this->config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'yes');
return ($result === 'yes');
$result = $this->config->getAppValue('files_sharing', 'lookupServerUploadEnabled', 'no') === 'yes';

Check notice

Code scanning / Psalm

DeprecatedMethod

The method OCP\IConfig::getAppValue has been marked as deprecated
@AndyScherzinger
AndyScherzinger merged commit d52e983 into stable30Mar 11, 2025
@AndyScherzinger
AndyScherzinger deleted the backport/51404/stable30 branch March 11, 2025 22:16
@blizzzblizzz mentioned this pull request Mar 12, 2025
13 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AndyScherzinger@github-advanced-security@susnux