Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat(plugin): set plugin default status is disabled

LinkinStars40fb10b4d989
diff --git a/plugin/plugin.go b/plugin/plugin.go
index 704f90e4..d837f85e 100644
--- a/plugin/plugin.go
+++ b/plugin/plugin.go
@@ -104,7 +104,7 @@ func (m *statusManager) IsEnabled(name string) bool {
if status, ok := m.status[name]; ok {
return status
}
- return true
+ return false
}
// MarshalJSON implements the json.Marshaler interface.