From 15d9f10f431d6091202c262df0aec30923ade5b7 Mon Sep 17 00:00:00 2001 From: Hanzei <16541325+hanzei@users.noreply.github.com> Date: Thu, 27 Sep 2018 18:56:47 +0200 Subject: Add plugin API methode to return the current server version (#9429) --- plugin/api.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/api.go') diff --git a/plugin/api.go b/plugin/api.go index 2f8c6dcc5..c4230860f 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -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) -- cgit v1.2.3-1-g7c22