From ca33812cb5b83dba0babc244fdf101c78abc046a Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Wed, 20 Jan 2016 08:07:52 -0600 Subject: PLT-7 adding loc db calls for system table --- store/sql_system_store.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'store/sql_system_store.go') diff --git a/store/sql_system_store.go b/store/sql_system_store.go index 1fbdfb333..184e8569f 100644 --- a/store/sql_system_store.go +++ b/store/sql_system_store.go @@ -5,6 +5,7 @@ package store import ( "github.com/mattermost/platform/model" + goi18n "github.com/nicksnyder/go-i18n/i18n" ) type SqlSystemStore struct { @@ -29,7 +30,7 @@ func (s SqlSystemStore) UpgradeSchemaIfNeeded() { func (s SqlSystemStore) CreateIndexesIfNotExists() { } -func (s SqlSystemStore) Save(system *model.System) StoreChannel { +func (s SqlSystemStore) Save(T goi18n.TranslateFunc, system *model.System) StoreChannel { storeChannel := make(StoreChannel) @@ -47,7 +48,7 @@ func (s SqlSystemStore) Save(system *model.System) StoreChannel { return storeChannel } -func (s SqlSystemStore) Update(system *model.System) StoreChannel { +func (s SqlSystemStore) Update(T goi18n.TranslateFunc, system *model.System) StoreChannel { storeChannel := make(StoreChannel) @@ -65,7 +66,7 @@ func (s SqlSystemStore) Update(system *model.System) StoreChannel { return storeChannel } -func (s SqlSystemStore) Get() StoreChannel { +func (s SqlSystemStore) Get(T goi18n.TranslateFunc) StoreChannel { storeChannel := make(StoreChannel) -- cgit v1.2.3-1-g7c22