Skip to content

Commit

Permalink
updated statuslang
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Hoyt authored and Jonathan Hoyt committed Mar 8, 2009
1 parent 45c8c74 commit d3f0b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/statuslang/lang.rb
Expand Up @@ -20,7 +20,7 @@ def last(amount=nil)

def posts
if @options[:after]
Event.find(:all, :conditions => {:recordable_type => "Sentry", :recordable_id => @sentry_id, :created_at.gte => @options[:after] + 5.hours})
Event.find(:all, :conditions => {:recordable_type => "Sentry", :recordable_id => @sentry_id, :created_at.gte => @options[:after] + 4.hours})
elsif @options[:limit]
Event.find(:all, :conditions => {:recordable_type => "Sentry", :recordable_id => @sentry_id}, :limit => @options[:limit])
end
Expand Down

0 comments on commit d3f0b6d

Please sign in to comment.