diff options
author | Corey Hulen <corey@hulen.com> | 2016-01-20 13:36:16 -0600 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-01-20 13:36:16 -0600 |
commit | aefbb541d0d5bdd9919fef44fbf1a1fbfeaeb58b (patch) | |
tree | d87809ff2a306e5428b0ab6973d05509baa21abd /store/sql_system_store.go | |
parent | 0b1aff3b24b4ac2df8e963c83d6e52b127c603f9 (diff) | |
download | chat-aefbb541d0d5bdd9919fef44fbf1a1fbfeaeb58b.tar.gz chat-aefbb541d0d5bdd9919fef44fbf1a1fbfeaeb58b.tar.bz2 chat-aefbb541d0d5bdd9919fef44fbf1a1fbfeaeb58b.zip |
Revert " PLT-7 adding loc for db calls"
Diffstat (limited to 'store/sql_system_store.go')
-rw-r--r-- | store/sql_system_store.go | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/store/sql_system_store.go b/store/sql_system_store.go index 184e8569f..1fbdfb333 100644 --- a/store/sql_system_store.go +++ b/store/sql_system_store.go @@ -5,7 +5,6 @@ package store import ( "github.com/mattermost/platform/model" - goi18n "github.com/nicksnyder/go-i18n/i18n" ) type SqlSystemStore struct { @@ -30,7 +29,7 @@ func (s SqlSystemStore) UpgradeSchemaIfNeeded() { func (s SqlSystemStore) CreateIndexesIfNotExists() { } -func (s SqlSystemStore) Save(T goi18n.TranslateFunc, system *model.System) StoreChannel { +func (s SqlSystemStore) Save(system *model.System) StoreChannel { storeChannel := make(StoreChannel) @@ -48,7 +47,7 @@ func (s SqlSystemStore) Save(T goi18n.TranslateFunc, system *model.System) Store return storeChannel } -func (s SqlSystemStore) Update(T goi18n.TranslateFunc, system *model.System) StoreChannel { +func (s SqlSystemStore) Update(system *model.System) StoreChannel { storeChannel := make(StoreChannel) @@ -66,7 +65,7 @@ func (s SqlSystemStore) Update(T goi18n.TranslateFunc, system *model.System) Sto return storeChannel } -func (s SqlSystemStore) Get(T goi18n.TranslateFunc) StoreChannel { +func (s SqlSystemStore) Get() StoreChannel { storeChannel := make(StoreChannel) |