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

fix(apps-store): Remove apps from force-enabled state when uninstalled #48855

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Oct 23, 2024

Summary

If an app is force-enabled and then uninstalled the force-enabled state was kept. This is now removed, so when the app should be re-installed the compatibility should be reevaluated.

Checklist

@susnux susnux added this to the Nextcloud 31 milestone Oct 23, 2024
@susnux susnux requested review from a team, icewind1991, Fenn-CS, sorbaugh and artonge and removed request for a team October 23, 2024 11:41
If an app is force-enabled and then uninstalled the force-enabled state was kept.
This is now removed, so when the app should be re-installed the compatibility should be reevaluated.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/app-store-remove-force-enable branch from d7fcbc2 to cb45a3b Compare October 23, 2024 13:27
@susnux susnux requested review from provokateurin and come-nc and removed request for icewind1991 and sorbaugh October 23, 2024 15:42
public function ignoreNextcloudRequirementForApp(string $appId): void {
public function ignoreNextcloudRequirementForApp(string $appId, bool $enabled = true): void {
Copy link
Member

Choose a reason for hiding this comment

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

This parameter in conjunction with the method name is a bit ugly.
Would it be possible to have this logic in a separate method instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How would you name the method? unignore...?

Copy link
Member

Choose a reason for hiding this comment

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

or removeIgnore..., but your suggestion is also fine.

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

Successfully merging this pull request may close these issues.

2 participants