mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 13:47:15 +08:00
fix: ai suggestions
This commit is contained in:
@@ -7,8 +7,6 @@ import (
|
||||
"strings"
|
||||
|
||||
_ "github.com/lib/pq"
|
||||
|
||||
"github.com/acepanel/panel/pkg/systemctl"
|
||||
)
|
||||
|
||||
type Postgres struct {
|
||||
@@ -124,7 +122,7 @@ func (r *Postgres) UserDrop(user string, host ...string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
return systemctl.Reload("postgresql")
|
||||
return nil
|
||||
}
|
||||
|
||||
func (r *Postgres) UserPassword(user, password string, host ...string) error {
|
||||
|
||||
Reference in New Issue
Block a user