mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
implemented edition license checks
This commit is contained in:
parent
edccb39019
commit
a4e3264e0c
19 changed files with 146 additions and 19 deletions
|
@ -185,6 +185,11 @@ func RefreshSections(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
// AddBlock inserts new reusable content block into database.
|
||||
func AddBlock(w http.ResponseWriter, r *http.Request) {
|
||||
if IsInvalidLicense() {
|
||||
util.WriteBadLicense(w)
|
||||
return
|
||||
}
|
||||
|
||||
method := "AddBlock"
|
||||
p := request.GetPersister(r)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue