Этот коммит содержится в:
=Corey Hulen
2015-08-20 14:40:25 -07:00
родитель 3f0ec24dc1
Коммит 1b4135ab0d

Просмотреть файл

@@ -153,8 +153,10 @@ func (s SqlChannelStore) extraUpdated(channel *model.Channel) StoreChannel {
channel.ExtraUpdated()
if count, err := s.GetMaster().Update(channel); err != nil || count != 1 {
if count, err := s.GetMaster().Update(channel); err != nil {
result.Err = model.NewAppError("SqlChannelStore.extraUpdated", "Problem updating members last updated time", "id="+channel.Id+", "+err.Error())
} else if count == 0 {
result.Err = model.NewAppError("SqlChannelStore.extraUpdated", "Problem updating members last updated time", "id="+channel.Id)
}
storeChannel <- result