remove commented code
This commit is contained in:
parent
2fc8a0e5a7
commit
220c5b2081
@ -11,7 +11,6 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"git.defalsify.org/vise.git/asm"
|
"git.defalsify.org/vise.git/asm"
|
||||||
"git.defalsify.org/vise.git/engine"
|
|
||||||
"git.defalsify.org/vise.git/lang"
|
"git.defalsify.org/vise.git/lang"
|
||||||
"git.defalsify.org/vise.git/resource"
|
"git.defalsify.org/vise.git/resource"
|
||||||
"git.defalsify.org/vise.git/state"
|
"git.defalsify.org/vise.git/state"
|
||||||
@ -255,7 +254,6 @@ func (h *Handlers) VerifyPin(ctx context.Context, sym string, input []byte) (res
|
|||||||
// codeFromCtx retrieves language codes from the context that can be used for handling translations
|
// codeFromCtx retrieves language codes from the context that can be used for handling translations
|
||||||
func codeFromCtx(ctx context.Context) string {
|
func codeFromCtx(ctx context.Context) string {
|
||||||
var code string
|
var code string
|
||||||
engine.Logg.DebugCtxf(ctx, "in msg", "ctx", ctx, "val", code)
|
|
||||||
if ctx.Value("Language") != nil {
|
if ctx.Value("Language") != nil {
|
||||||
lang := ctx.Value("Language").(lang.Language)
|
lang := ctx.Value("Language").(lang.Language)
|
||||||
code = lang.Code
|
code = lang.Code
|
||||||
|
Loading…
Reference in New Issue
Block a user