Skip to content

Commit

Permalink
Fixed indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
calonso committed Sep 23, 2012
1 parent 8563f38 commit 6bbd74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apn_on_rails/app/models/apn/app.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def self.send_notifications
def self.send_notifications_for_cert(the_cert, app_id) def self.send_notifications_for_cert(the_cert, app_id)
begin begin
APN::Connection.open_for_delivery({:cert => the_cert}) do |conn, sock| APN::Connection.open_for_delivery({:cert => the_cert}) do |conn, sock|
unset = APN::Notification.joins(:device). unset = APN::Notification.joins(:device).
where(:sent_at => nil, :apn_devices => { :app_id => app_id }). where(:sent_at => nil, :apn_devices => { :app_id => app_id }).
order(:device_id, :created_at).readonly(false) order(:device_id, :created_at).readonly(false)
unset.each do |noty| unset.each do |noty|
Expand Down

0 comments on commit 6bbd74c

Please sign in to comment.