Fix bug.
This commit is contained in:
parent
1d8b2b04b6
commit
5bb81c549b
|
@ -2,6 +2,9 @@ require "rss"
|
|||
class AnnouncementFeedsController < ApplicationController
|
||||
include Admin::AnnouncementsHelper
|
||||
def feed
|
||||
Thread.new do
|
||||
BulletinFeedCache.all_of({:invalid_date.ne=>nil,:invalid_date.lte => Time.now}).delete_all
|
||||
end
|
||||
uid = params[:uid]
|
||||
startdt = params[:start].blank? ? nil : params[:start]
|
||||
enddt = params[:end].blank? ? nil : params[:end]
|
||||
|
|
Loading…
Reference in New Issue