Description:
removed admin from score board
Commit status:
[Not Reviewed]
References:
Comments:
0 Commit comments 0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
Add another comment

r256:7dba57af2448 - - 1 file changed: 1 inserted, 1 deleted

@@ -8,13 +8,13
8 8 problem_count = Problem.available_problem_count
9 9
10 10 @dead_users = []
11 11 @level_users = {}
12 12 @levels = (0..CODEJOM_MAX_ALIVE_LEVEL)
13 13 @levels.each { |l| @level_users[l] = [] }
14 - User.find(:all).each do |user|
14 + User.find(:all).find_all{|user| not user.admin? }.each do |user|
15 15 if user.codejom_status==nil
16 16 user.update_codejom_status
17 17 user.codejom_status(true) # reload
18 18 end
19 19
20 20 if not user.codejom_status.alive
You need to be logged in to leave comments. Login now