license: dropping PhoneNumber field from the license (#14307)

Per request of the bix team and checking the code this field is not used
in any place and also is one information that is not needed at all.
Этот коммит содержится в:
Carlos Tadeu Panato Junior
2020-04-20 14:20:35 +02:00
коммит произвёл GitHub
родитель cff7de9e68
Коммит 0d0ab51876
4 изменённых файлов: 8 добавлений и 13 удалений

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

@@ -151,7 +151,6 @@ func GetClientLicense(l *model.License) map[string]string {
props["Name"] = l.Customer.Name
props["Email"] = l.Customer.Email
props["Company"] = l.Customer.Company
props["PhoneNumber"] = l.Customer.PhoneNumber
props["EmailNotificationContents"] = strconv.FormatBool(*l.Features.EmailNotificationContents)
props["MessageExport"] = strconv.FormatBool(*l.Features.MessageExport)
props["CustomPermissionsSchemes"] = strconv.FormatBool(*l.Features.CustomPermissionsSchemes)