cleaned unused fields

This commit is contained in:
Radu Ioan Fericean
2014-04-01 20:49:34 +03:00
parent e5dc9a2e56
commit a03b25cc45
2 changed files with 8 additions and 12 deletions

View File

@@ -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

View File

@@ -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 {