Removed (*App).Shutdown and updated all references. (#15088)

Этот коммит содержится в:
Doug Lauder
2020-07-22 13:30:11 -04:00
коммит произвёл GitHub
родитель 6b5c0bb5d2
Коммит b372b98aca
23 изменённых файлов: 87 добавлений и 114 удалений

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

@@ -83,10 +83,6 @@ type AppIface interface {
CreateUser(user *model.User) (*model.User, *model.AppError)
// Creates and stores FileInfos for a post created before the FileInfos table existed.
MigrateFilenamesToFileInfos(post *model.Post) []*model.FileInfo
// DO NOT CALL THIS.
// This is to avoid having to change all the code in cmd/mattermost/commands/* for now
// shutdown should be called directly on the server
Shutdown()
// DefaultChannelNames returns the list of system-wide default channel names.
//
// By default the list will be (not necessarily in this order):