diff --git a/engine/account.go b/engine/account.go index 8a433ef30..705e21ebe 100644 --- a/engine/account.go +++ b/engine/account.go @@ -62,11 +62,8 @@ type Account struct { BalanceMap map[string]BalanceChain UnitCounters []*UnitsCounter ActionTriggers ActionTriggerPriotityList - Groups GroupLinks // user info about groups - // group information - UserIds []string // group info about users - AllowNegative bool - Disabled bool + AllowNegative bool + Disabled bool } // Returns user's available minutes for the specified destination diff --git a/engine/balances.go b/engine/balances.go index 78bbf9e26..59cdfe84b 100644 --- a/engine/balances.go +++ b/engine/balances.go @@ -32,13 +32,12 @@ type Balance struct { Value float64 ExpirationDate time.Time Weight float64 - //GroupIds []string - DestinationId string - RateSubject string - SharedGroup string - precision int - account *Account // used to store ub reference for shared balances - dirty bool + DestinationId string + RateSubject string + SharedGroup string + precision int + account *Account // used to store ub reference for shared balances + dirty bool } func (b *Balance) Equal(o *Balance) bool {