This commit is contained in:
albert
2013-03-09 11:08:06 -05:00
parent f4dce831e8
commit 73edc3c86f
3 changed files with 10 additions and 17 deletions

View File

@@ -443,10 +443,6 @@ class User < ActiveRecord::Base
limit = 10 + (approved_count / 10) - (deleted_count / 4) - pending_count
end
if limit > 20
limit = 20
end
if limit < 0
limit = 0
end