1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 13:19:43 +02:00

Enforce non-draft mode lifecycle for CE

Closes #151 by enforcing non-draft mode settings for Community Edition.
This commit is contained in:
sauls8t 2018-05-10 15:10:15 +01:00
parent fb193ce9f9
commit c94fd9cfcf
3 changed files with 19 additions and 2 deletions

7
core/env/runtime.go vendored
View file

@ -50,3 +50,10 @@ const (
// DBVariantPostgreSQL is PostgreSQL
DBVariantPostgreSQL DbVariant = "PostgreSQL"
)
const (
// CommunityEdition is AGPL product variant
CommunityEdition = "Community"
// EnterpriseEdition is commercial licensed product variant
EnterpriseEdition = "Enterprise"
)