diff options
author | rompic <roman@pickl.eu> | 2016-05-25 14:19:54 +0200 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-25 08:19:54 -0400 |
commit | 20302c6953775ac5f0030456b69e24a472242caa (patch) | |
tree | c1e3e5d8785a6a3a075ab19ef5780c6e06b4b836 /store | |
parent | 09863c0b80610f2f3a35cf3caa7c5b66a0c3878e (diff) | |
download | chat-20302c6953775ac5f0030456b69e24a472242caa.tar.gz chat-20302c6953775ac5f0030456b69e24a472242caa.tar.bz2 chat-20302c6953775ac5f0030456b69e24a472242caa.zip |
fixed type speical -> special (#3052)
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_post_store.go | 2 | ||||
-rw-r--r-- | store/sql_store.go | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/store/sql_post_store.go b/store/sql_post_store.go index 4aa6ff468..8b1c2bf9b 100644 --- a/store/sql_post_store.go +++ b/store/sql_post_store.go @@ -629,7 +629,7 @@ func (s SqlPostStore) Search(teamId string, userId string, params *model.SearchP } } - // these chars have speical meaning and can be treated as spaces + // these chars have special meaning and can be treated as spaces for _, c := range specialSearchChar { terms = strings.Replace(terms, c, " ", -1) } diff --git a/store/sql_store.go b/store/sql_store.go index 0979579df..e45d1ef94 100644 --- a/store/sql_store.go +++ b/store/sql_store.go @@ -101,7 +101,7 @@ func NewSqlStore() Store { } } - // This is a speical case for upgrading the schema to the 3.0 user model + // This is a special case for upgrading the schema to the 3.0 user model // ADDED for 3.0 REMOVE for 3.4 if sqlStore.SchemaVersion == "2.2.0" || sqlStore.SchemaVersion == "2.1.0" || @@ -183,7 +183,7 @@ func NewSqlStore() Store { } // ADDED for 3.0 REMOVE for 3.4 -// This is a speical case for upgrading the schema to the 3.0 user model +// This is a special case for upgrading the schema to the 3.0 user model func NewSqlStoreForUpgrade30() *SqlStore { sqlStore := initConnection() |