Add plugin API methode to return the current server version (#9429)
Этот коммит содержится в:
коммит произвёл
Jesse Hallam
родитель
d937f41233
Коммит
15d9f10f43
@@ -34,6 +34,9 @@ type API interface {
|
||||
// SaveConfig sets the given config and persists the changes
|
||||
SaveConfig(config *model.Config) *model.AppError
|
||||
|
||||
// GetServerVersion return the current Mattermost server version
|
||||
GetServerVersion() string
|
||||
|
||||
// CreateUser creates a user.
|
||||
CreateUser(user *model.User) (*model.User, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user