summaryrefslogtreecommitdiffstats
path: root/api/license.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/license.go')
-rw-r--r--api/license.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/api/license.go b/api/license.go
index a6a167cac..8eb7803e1 100644
--- a/api/license.go
+++ b/api/license.go
@@ -8,14 +8,11 @@ import (
"io"
"net/http"
- l4g "github.com/alecthomas/log4go"
"github.com/mattermost/mattermost-server/model"
"github.com/mattermost/mattermost-server/utils"
)
func (api *API) InitLicense() {
- l4g.Debug(utils.T("api.license.init.debug"))
-
api.BaseRoutes.License.Handle("/add", api.ApiAdminSystemRequired(addLicense)).Methods("POST")
api.BaseRoutes.License.Handle("/remove", api.ApiAdminSystemRequired(removeLicense)).Methods("POST")
api.BaseRoutes.License.Handle("/client_config", api.ApiAppHandler(getClientLicenceConfig)).Methods("GET")