pkg: fix deadcode issues

This commit is contained in:
Mario Trangoni
2018-04-24 18:52:57 +02:00
parent 7aaa188471
commit 97fd66db2e
3 changed files with 32 additions and 49 deletions

View File

@ -31,8 +31,6 @@ func initContextWithRenderAuth(ctx *m.ReqContext) bool {
return true
}
type renderContextFunc func(key string) (string, error)
func AddRenderAuthKey(orgId int64, userId int64, orgRole m.RoleType) string {
renderKeysLock.Lock()