mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #898] [CLOSED] Make DynamicDatabaseConnection static #1044
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/898
Author: @PseudoResonance
Created: 1/9/2025
Status: ❌ Closed
Base:
main← Head:static-dynamic-database-connection📝 Commits (1)
c81a161Make DynamicDatabaseConnection static📊 Changes
5 files changed (+6 additions, -10 deletions)
View changed files
📝
app/Extensions/DynamicDatabaseConnection.php(+1 -1)📝
app/Services/Databases/DatabaseManagementService.php(+2 -3)📝
app/Services/Databases/DatabasePasswordService.php(+1 -2)📝
app/Services/Databases/Hosts/HostCreationService.php(+1 -2)📝
app/Services/Databases/Hosts/HostUpdateService.php(+1 -2)📄 Description
I thought it was odd that this class, which has no internal state or anything, wasn't a static method and required instantiating the class first.
Does this seem reasonable to change, or is there some plan for it?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.