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

Replace deprecated getConnection with getDbAdapter #71

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

Conversation

6d6178
Copy link

@6d6178 6d6178 commented Aug 4, 2022

In Icinga Web 2.11.x there have been framework changes (see link, Framework changes affecting third-party code)
This requires changing some functions. I replaced getConnection() with getDbAdapter() and it fixed the issue I had,
#70
So far, I could only test the change on the current Icinga Web version, and it fixed the problem. The new function was available for some time, so it should work with older Icinga Web versions too, but I have no old installation available to test for now.

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

1 participant