Skip to content

chore(OC_App): migrate more legacy function and usage#60071

Open
susnux wants to merge 2 commits intomasterfrom
chore/legacy
Open

chore(OC_App): migrate more legacy function and usage#60071
susnux wants to merge 2 commits intomasterfrom
chore/legacy

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented May 3, 2026

Summary

Move more functions to AppManager that still make sense to be shared.
Moreover usage is migrated to AppManager instead of legacy OC_App.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@susnux susnux added this to the Nextcloud 34 milestone May 3, 2026
@susnux susnux added 3. to review Waiting for reviews technical debt 🧱 🤔🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels May 3, 2026
…o AppManager

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the chore/legacy branch 2 times, most recently from 5c53a18 to 031c44c Compare May 5, 2026 20:48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux marked this pull request as ready for review May 6, 2026 08:15
@susnux susnux requested a review from a team as a code owner May 6, 2026 08:15
@susnux susnux requested review from leftybournes, nfebe, salmart-dev and sorbaugh and removed request for a team May 6, 2026 08:15
* @param bool $ignoreMax - Whether to ignore the Nextcloud max version requirement
* @throws \Exception - If there are missing dependencies
*/
public function checkAppDependencies(string $appId, bool $ignoreMax = false): void {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should those methods be announced in the IAppManager interface?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants