-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
lib/db: remove deprecated implementation of db_set_login() and replace it with that of db_set_login2() #4308
Conversation
In a similar vein to OSGeo#4302, remove deprecated implementation of db_set_login() and replace it with that of db_set_login2(). Along with db_get_login(), db_set_login() was deprecated (in favour of db_set_login2) in 2015 with the 7.8.0 release. Commit: da399c5 Signed-off-by: Mohan Yelugoti <[email protected]>
db_set_login() is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of currently preferred db_set_login2(). Modify db_set_login2() to internally call db_set_login() function call. In the future major version, db_set_login() would be removed to have only one method to set login details for simplicity. Signed-off-by: Mohan Yelugoti <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
What's the plan on getting this PR and #4302 merged? Both are approved, and don't seem to have work to do anymore. Both have some failing checks, so I didn't act on them. |
I just noticed this one and #4302 earlier today and was wondering why we didn't merge it. I think when I reviewed it, I was thinking @nilason may want to have a look before merging or merge it since he initiated the change. However, I didn't actually express that anywhere. I'm happy to revisit if no one else will in the following days, so I'm assigning myself. |
…e it with that of db_get_login2() (#4302) `db_get_login()` is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of the currently preferred `db_get_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature. Modify `db_get_login2()` to internally call `db_get_login()` function call. In the next major version, `db_get_login2()` should be removed to have only one method to get login details for simplicity. See also #4308. --------- Signed-off-by: Mohan Yelugoti <[email protected]>
In a similar vein to that of #4302,
db_set_login()
is deprecated in 7.8.0 release with da399c5. Change its function signature and implementation to match that of currently preferreddb_set_login2()
.Modify
db_set_login2()
to internally calldb_set_login()
function call. In the future major version,db_set_login()
would be removed to have only one method to set login details for simplicity.