[MM-53086] Remove SendWelcomePost A/B test and feature (#23733)
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -217,19 +217,6 @@ func (a *App) IsFirstUserAccount() bool {
|
||||
return a.ch.srv.platform.IsFirstUserAccount()
|
||||
}
|
||||
|
||||
func (a *App) IsFirstAdmin(user *model.User) bool {
|
||||
if !user.IsSystemAdmin() {
|
||||
return false
|
||||
}
|
||||
|
||||
adminID, err := a.Srv().Store().User().GetFirstSystemAdminID()
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
return adminID == user.Id
|
||||
}
|
||||
|
||||
// CreateUser creates a user and sets several fields of the returned User struct to
|
||||
// their zero values.
|
||||
func (a *App) CreateUser(c request.CTX, user *model.User) (*model.User, *model.AppError) {
|
||||
|
||||
Ссылка в новой задаче
Block a user