mirror of
https://github.com/pushbits/server.git
synced 2025-04-30 10:46:55 +02:00
remove unused method
This commit is contained in:
parent
87ea474b47
commit
562ee7aa4a
1 changed files with 0 additions and 10 deletions
|
@ -224,13 +224,3 @@ func getAdmin() *model.User {
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func countAdmins() uint64 {
|
|
||||||
count := uint64(0)
|
|
||||||
for _, user := range TestUsers {
|
|
||||||
if user.IsAdmin {
|
|
||||||
count += 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return count
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue