From b4d4986758f0cf17e3ceca0f706ca80e6652d98f Mon Sep 17 00:00:00 2001 From: danielvincent Date: Sun, 26 Sep 2010 22:20:01 -0700 Subject: [PATCH] removed inclusion block --- lib/diaspora/webhooks.rb | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/lib/diaspora/webhooks.rb b/lib/diaspora/webhooks.rb index 2be45d76a..fc241a6d3 100644 --- a/lib/diaspora/webhooks.rb +++ b/lib/diaspora/webhooks.rb @@ -4,16 +4,12 @@ module Diaspora module Webhooks - def self.included(klass) - klass.class_eval do - def to_diaspora_xml - xml = "" - xml += "#{self.to_xml.to_s}" - xml += "" - end - - end + def to_diaspora_xml + xml = "" + xml += "#{to_xml.to_s}" + xml += "" end + end end