adjust interval for mod queue notice
This commit is contained in:
@@ -21,7 +21,7 @@ class ApplicationController < ActionController::Base
|
|||||||
|
|
||||||
protected
|
protected
|
||||||
def show_moderation_notice?
|
def show_moderation_notice?
|
||||||
CurrentUser.can_approve_posts? && (cookies[:moderated].blank? || Time.at(cookies[:moderated].to_i) < 1.day.ago)
|
CurrentUser.can_approve_posts? && (cookies[:moderated].blank? || Time.at(cookies[:moderated].to_i) < 20.hours.ago)
|
||||||
end
|
end
|
||||||
|
|
||||||
def ssl_login?
|
def ssl_login?
|
||||||
|
|||||||
Reference in New Issue
Block a user