aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/info_request.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 3e469fbaa..d6c2e7bd3 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -22,7 +22,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.63 2008-03-13 12:15:21 francis Exp $
+# $Id: info_request.rb,v 1.64 2008-03-14 09:47:31 francis Exp $
require 'digest/sha1'
@@ -112,8 +112,8 @@ class InfoRequest < ActiveRecord::Base
incoming_message.solr_destroy
end
end
- info_request.solr_up_to_date = true
$do_solr_index = false # disable indexing again while we save it, or else destroyed things get put back
+ info_request.solr_up_to_date = true
info_request.save!
$do_solr_index = true
end