From fa2e621b0feeb838cb83fd1e23fbf1b3dc901ec8 Mon Sep 17 00:00:00 2001 From: Raphael <raphael@joindiaspora.com> Date: Mon, 16 Aug 2010 14:24:30 -0700 Subject: [PATCH] Syntax error --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index ac8a98d762..d20c48bdb5 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -174,7 +174,7 @@ class User Rails.logger.debug("Saving object: #{object}") object.save object.socket_to_uid( id) if (object.respond_to?(:socket_to_uid) && !self.owns?(object)) - object.person.dispatch_comment object if (object.is_a?(Comment) + object.person.dispatch_comment object if object.is_a?(Comment) end end -- GitLab