Cleanup related to context refactor (#9988)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
829f183bb0
Коммит
8429add371
11
app/server_license.go
Обычный файл
11
app/server_license.go
Обычный файл
@@ -0,0 +1,11 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
|
||||
package app
|
||||
|
||||
import "github.com/mattermost/mattermost-server/model"
|
||||
|
||||
func (s *Server) License() *model.License {
|
||||
license, _ := s.licenseValue.Load().(*model.License)
|
||||
return license
|
||||
}
|
||||
Ссылка в новой задаче
Block a user