Skip to content

Commit

Permalink
Remove unused job variable
Browse files Browse the repository at this point in the history
  • Loading branch information
raykrueger committed Sep 22, 2011
1 parent 40dcc85 commit 5fee4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque.rb
Expand Up @@ -230,7 +230,7 @@ def enqueue(klass, *args)
end
return nil if before_hooks.any? { |result| result == false }

job = Job.create(queue_from_class(klass), klass, *args)
Job.create(queue_from_class(klass), klass, *args)

Plugin.after_enqueue_hooks(klass).each do |hook|
klass.send(hook, *args)
Expand Down

0 comments on commit 5fee4cd

Please sign in to comment.