summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2012-04-10 16:57:02 +0200
committerYorhel <git@yorhel.nl>2012-04-10 16:57:02 +0200
commitb1ac0363015495ebd6a62d6cbcbdbaddcba638a2 (patch)
tree0051d9c3cfce3477a18bff2cc96c14ae7dc1d3e3
parent56251e336627d1ef64d29dfd93f178f7f857ba6d (diff)
userlist: Remove unused set() method
-rw-r--r--src/globster/userlist/list.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/globster/userlist/list.go b/src/globster/userlist/list.go
index 012b1e2..707945a 100644
--- a/src/globster/userlist/list.go
+++ b/src/globster/userlist/list.go
@@ -57,15 +57,6 @@ func (u user) getFields(fields []string) tanja.Tuple {
return tanja.Tup(r)
}
-// TODO: Some more validation than only existance of the field would be nice
-func (u *user) set(field string, val tanja.Element) bool {
- if fieldDefs[field] != elNil {
- return false
- }
- (*u)[field] = val
- return true
-}
-
func newUser(tid string) *user {
u := make(user, len(fieldDefs))
for k, v := range fieldDefs {