This commit is contained in:
yuanke 2016-11-03 10:21:41 +08:00
parent 7d81a52308
commit 8bf6ef4371
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ module AccountHelper
if user.save
tEndtime = Time.now
tUsedtime = (tEndtime.to_i-tStarttime.to_i)*1000+(tEndtime.usec - tStarttime.usec)/1000
logger.info "register_130 wait time = #{tUsedtime} ms"
Rails.logger.info "register_130 wait time = #{tUsedtime} ms"
UserStatus.create(:user_id => user.id, :changsets_count => 0, :watchers_count => 0)
#self.logged_user = user
#flash[:notice] = l(:notice_account_activated)
@ -50,7 +50,7 @@ module AccountHelper
end
tEndtime = Time.now
tUsedtime = (tEndtime.to_i-tStarttime.to_i)*1000+(tEndtime.usec - tStarttime.usec)/1000
logger.info "register_131 wait time = #{tUsedtime} ms"
Rails.logger.info "register_131 wait time = #{tUsedtime} ms"
user
end