Adding service settings to admin console

This commit is contained in:
=Corey Hulen
2015-09-22 12:12:50 -07:00
parent 08a3acbb44
commit 88e5a71e8c
37 changed files with 631 additions and 297 deletions

View File

@@ -215,8 +215,8 @@ func joinCommand(c *Context, command *model.Command) bool {
func loadTestCommand(c *Context, command *model.Command) bool {
cmd := "/loadtest"
// This command is only available when AllowTesting is true
if !utils.Cfg.ServiceSettings.AllowTesting {
// This command is only available when EnableTesting is true
if !utils.Cfg.ServiceSettings.EnableTesting {
return false
}