MCPcopy
hub / github.com/gotify/server / UpdatePluginConf

Method UpdatePluginConf

database/plugin.go:76–78  ·  view source on GitHub ↗

UpdatePluginConf updates plugin configuration.

(p *model.PluginConf)

Source from the content-addressed store, hash-verified

74
75// UpdatePluginConf updates plugin configuration.
76func (d *GormDatabase) UpdatePluginConf(p *model.PluginConf) error {
77 return d.DB.Save(p).Error
78}
79
80// DeletePluginConfByID deletes a plugin configuration by its id.
81func (d *GormDatabase) DeletePluginConfByID(id uint) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.65

Tested by

no test coverage detected