(token string)
| 104 | var ErrAlreadyEnabledOrDisabled = errors.New("config is already enabled/disabled") |
| 105 | |
| 106 | func (m *Manager) applicationExists(token string) bool { |
| 107 | app, _ := m.db.GetApplicationByToken(token) |
| 108 | return app != nil |
| 109 | } |
| 110 | |
| 111 | func (m *Manager) pluginConfExists(token string) bool { |
| 112 | pluginConf, _ := m.db.GetPluginConfByToken(token) |
nothing calls this directly
no test coverage detected