MM-27169: Remove uneeded fields from App (#15408)

* MM-27169: Remove uneeded fields from App

https://mattermost.atlassian.net/browse/MM-27169

* run app-layers

* Bring back searchengine

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
Agniva De Sarker
2020-09-16 21:46:44 +05:30
коммит произвёл GitHub
родитель f0fc51244c
Коммит b329635b23
4 изменённых файлов: 23 добавлений и 41 удалений

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

@@ -296,6 +296,8 @@ type AppIface interface {
// the member's group memberships and the configuration of those groups to the syncable. This method should only
// be invoked on group-synced (aka group-constrained) syncables.
SyncSyncableRoles(syncableID string, syncableType model.GroupSyncableType) *model.AppError
// TODO: change this to make a server method.
SetLog(l *mlog.Logger)
// TeamMembersMinusGroupMembers returns the set of users on the given team minus the set of users in the given
// groups.
//
@@ -893,7 +895,6 @@ type AppIface interface {
SetContext(c context.Context)
SetDefaultProfileImage(user *model.User) *model.AppError
SetIpAddress(s string)
SetLog(l *mlog.Logger)
SetPath(s string)
SetPhase2PermissionsMigrationStatus(isComplete bool) error
SetPluginKey(pluginId string, key string, value []byte) *model.AppError