Commit 34026104488b8c9a57addb5741c86bff99736a29

Authored by Victor Costa
2 parents ac58870e cc5d8647

Merge branch 'hotfixes' into stable

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/controllers/public/account_controller.rb
... ... @@ -359,11 +359,11 @@ class AccountController < ApplicationController
359 359 end
360 360  
361 361 def get_signup_start_time
362   - Rails.cache.read params[:signup_time_key] if params[:signup_time_key]
  362 + Rails.cache.read params[:signup_time_key] if params[:signup_time_key].present?
363 363 end
364 364  
365 365 def clear_signup_start_time
366   - Rails.cache.delete params[:signup_time_key] if params[:signup_time_key]
  366 + Rails.cache.delete params[:signup_time_key] if params[:signup_time_key].present?
367 367 end
368 368  
369 369 def may_be_a_bot
... ...