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 | |
parent | 09863c0b80610f2f3a35cf3caa7c5b66a0c3878e (diff) | |
download | chat-20302c6953775ac5f0030456b69e24a472242caa.tar.gz chat-20302c6953775ac5f0030456b69e24a472242caa.tar.bz2 chat-20302c6953775ac5f0030456b69e24a472242caa.zip |
fixed type speical -> special (#3052)
-rw-r--r-- | api/user.go | 4 | ||||
-rw-r--r-- | mattermost.go | 8 | ||||
-rw-r--r-- | store/sql_post_store.go | 2 | ||||
-rw-r--r-- | store/sql_store.go | 4 |
4 files changed, 9 insertions, 9 deletions
diff --git a/api/user.go b/api/user.go index f6c7c25f5..c1b40852d 100644 --- a/api/user.go +++ b/api/user.go @@ -227,7 +227,7 @@ func CreateUser(user *model.User) (*model.User, *model.AppError) { user.Roles = "" - // Below is a speical case where the first user in the entire + // Below is a special case where the first user in the entire // system is granted the system_admin role instead of admin if result := <-Srv.Store.User().GetTotalUsersCount(); result.Err != nil { return nil, result.Err @@ -793,7 +793,7 @@ func getInitialLoad(c *Context, w http.ResponseWriter, r *http.Request) { var cchan store.StoreChannel if sessionCache.Len() == 0 { - // Below is a speical case when intializating a new server + // Below is a special case when intializating a new server // Lets check to make sure the server is really empty cchan = Srv.Store.User().GetTotalUsersCount() diff --git a/mattermost.go b/mattermost.go index 3def1e0d9..d6d6d29bd 100644 --- a/mattermost.go +++ b/mattermost.go @@ -93,7 +93,7 @@ func main() { l4g.Info(utils.T("mattermost.working_dir"), pwd) l4g.Info(utils.T("mattermost.config_file"), utils.FindConfigFile(flagConfigFile)) - // Speical case for upgrading the db to 3.0 + // Special case for upgrading the db to 3.0 // ADDED for 3.0 REMOVE for 3.4 cmdUpdateDb30() @@ -351,7 +351,7 @@ func cmdUpdateDb30() { store := api.Srv.Store.(*store.SqlStore) utils.InitHTML() - l4g.Info("Attempting to run speical upgrade of the database schema to version 3.0 for user model changes") + l4g.Info("Attempting to run special upgrade of the database schema to version 3.0 for user model changes") time.Sleep(time.Second) if !store.DoesColumnExist("Users", "TeamId") { @@ -406,7 +406,7 @@ func cmdUpdateDb30() { flushLogAndExit(1) } - l4g.Info("Starting speical 3.0 database upgrade with performed_backup=YES team_name=%v", team.Name) + l4g.Info("Starting special 3.0 database upgrade with performed_backup=YES team_name=%v", team.Name) l4g.Info("Primary team %v will be left unchanged", team.Name) l4g.Info("Upgrading primary team %v", team.Name) @@ -481,7 +481,7 @@ func cmdUpdateDb30() { store.RemoveColumnIfExists("Users", "TeamId") } - l4g.Info("Finished running speical upgrade of the database schema to version 3.0 for user model changes") + l4g.Info("Finished running special upgrade of the database schema to version 3.0 for user model changes") if result := <-store.System().Update(&model.System{Name: "Version", Value: model.CurrentVersion}); result.Err != nil { l4g.Error("Failed to update system schema version details=%v", result.Err) 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() |