From 31ee078910973606e05a469e2fdcb795c0403ebc Mon Sep 17 00:00:00 2001 From: francis Date: Tue, 26 Aug 2008 16:03:36 +0000 Subject: Test code for comments. --- app/models/info_request.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/models/info_request.rb') diff --git a/app/models/info_request.rb b/app/models/info_request.rb index af1d8b38a..8e303eed2 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -23,7 +23,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: info_request.rb,v 1.130 2008-08-21 00:41:44 francis Exp $ +# $Id: info_request.rb,v 1.131 2008-08-26 16:03:36 francis Exp $ require 'digest/sha1' require File.join(File.dirname(__FILE__),'../../vendor/plugins/acts_as_xapian/lib/acts_as_xapian') @@ -274,6 +274,8 @@ public self.log_event("comment", { :comment_id => comment.id }) self.save! end + + return comment end # The "holding pen" is a special request which stores incoming emails whose -- cgit v1.2.3