summaryrefslogtreecommitdiffstats
path: root/api/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/command.go')
-rw-r--r--api/command.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/api/command.go b/api/command.go
index 321a67dfc..bbc7fbebd 100644
--- a/api/command.go
+++ b/api/command.go
@@ -8,15 +8,10 @@ import (
"net/http"
"strings"
- l4g "github.com/alecthomas/log4go"
-
"github.com/mattermost/mattermost-server/model"
- "github.com/mattermost/mattermost-server/utils"
)
func (api *API) InitCommand() {
- l4g.Debug(utils.T("api.command.init.debug"))
-
api.BaseRoutes.Commands.Handle("/execute", api.ApiUserRequired(executeCommand)).Methods("POST")
api.BaseRoutes.Commands.Handle("/list", api.ApiUserRequired(listCommands)).Methods("GET")