diff options
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index d48e2975d..b69780ae2 100644 --- a/app/models/user.rb +++ b/app/models/user.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: user.rb,v 1.93 2009-04-22 01:00:23 francis Exp $ +# $Id: user.rb,v 1.94 2009-04-23 10:22:10 francis Exp $ require 'digest/sha1' @@ -72,7 +72,7 @@ class User < ActiveRecord::Base end # requested_by: and commented_by: search queries also need updating after save - after_save :reindex_referencing_models + after_update :reindex_referencing_models def reindex_referencing_models return if no_xapian_reindex == true |