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

Enh: Consolidate (is|set)(Database)Installed() to ApplicationTrait #6720

Merged

Conversation

martin-rueegg
Copy link
Contributor

@martin-rueegg martin-rueegg commented Dec 10, 2023

  • Code de-duplication
  • move code away from Settings, that has nothing to do with Settings
  • move it to BaseSettingsManager where also isDatabaseInstalled() resides

What kind of change does this PR introduce?

  • Refactor

Does this PR introduce a breaking change?

  • No

The PR fulfills these requirements

  • It's submitted to the develop branch, not the master branch if no hotfix
  • All tests are passing
  • New/updated tests are included
  • Changelog was modified

Other information:

@martin-rueegg martin-rueegg changed the title Enh: consolidate is installes id database installed Enh: Consolidate isInstalled(), setInstalled(), and setDatabaseInstalled() Dec 10, 2023
@martin-rueegg martin-rueegg mentioned this pull request Dec 10, 2023
6 tasks
@martin-rueegg
Copy link
Contributor Author

All failing errors seem to stem from

@martin-rueegg martin-rueegg marked this pull request as ready for review December 10, 2023 16:02
MIGRATE-DEV.md Outdated Show resolved Hide resolved
@martin-rueegg martin-rueegg force-pushed the enh/consolidate-isInstalles-idDatabaseInstalled branch from 4670cac to d27dc28 Compare December 10, 2023 19:07
@martin-rueegg martin-rueegg changed the title Enh: Consolidate isInstalled(), setInstalled(), and setDatabaseInstalled() Enh: Consolidate (is|set)(Database)Installed() to ApplicationTrait Dec 10, 2023
@martin-rueegg martin-rueegg force-pushed the enh/consolidate-isInstalles-idDatabaseInstalled branch from d27dc28 to fa1fe03 Compare December 10, 2023 19:11
@martin-rueegg martin-rueegg force-pushed the enh/consolidate-isInstalles-idDatabaseInstalled branch from fa1fe03 to 579d1c3 Compare December 10, 2023 19:12
@luke-
Copy link
Contributor

luke- commented Dec 11, 2023

@martin-rueegg It's much better that way! Thanks for the refactoring!

@luke- luke- added this pull request to the merge queue Dec 11, 2023
Merged via the queue into humhub:develop with commit 24d948a Dec 11, 2023
2 of 6 checks passed
@martin-rueegg martin-rueegg deleted the enh/consolidate-isInstalles-idDatabaseInstalled branch December 11, 2023 11:01
martin-rueegg added a commit to metaworx/humhub that referenced this pull request Dec 12, 2023
github-merge-queue bot pushed a commit that referenced this pull request Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants