IZ, RS; now passing correct object to verify_signature

This commit is contained in:
Raphael 2010-08-04 17:10:38 -07:00
parent 5a802299d5
commit 7676179e54

View file

@ -20,7 +20,7 @@ class Retraction
attr_accessor :type
def perform
return unless verify_signature(@creator_signature, Post.first(:id => post_id).person.id)
return unless verify_signature(@creator_signature, Post.first(:id => post_id).person)
begin
self.type.constantize.destroy(self.post_id)