modqueue: bump "You haven't moderated any posts..." notice to 72 hours.

This commit is contained in:
evazion
2019-10-30 10:49:14 -05:00
parent 4f858384bb
commit f865cd8aeb
2 changed files with 1 additions and 5 deletions

View File

@@ -40,10 +40,6 @@ module Moderator
protected
def show_moderation_notice?
false
end
def per_page
cookies["mq_per_page"] || search_params[:per_page] || 25
end

View File

@@ -218,7 +218,7 @@ module ApplicationHelper
end
def show_moderation_notice?
CurrentUser.can_approve_posts? && (cookies[:moderated].blank? || Time.at(cookies[:moderated].to_i) < 20.hours.ago)
CurrentUser.can_approve_posts? && (cookies[:moderated].blank? || Time.at(cookies[:moderated].to_i) < 72.hours.ago)
end
protected