diff options
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() |