fixes #2594: IQDB index stays the same after expunge

This commit is contained in:
r888888888
2016-05-03 12:20:31 -07:00
parent 4abd1b067f
commit 1d727e1269

View File

@@ -6,13 +6,13 @@ class Post < ActiveRecord::Base
class SearchError < Exception ; end
attr_accessor :old_tag_string, :old_parent_id, :old_source, :old_rating, :has_constraints, :disable_versioning, :view_count
after_destroy :remove_iqdb_async
after_destroy :delete_files
after_destroy :delete_remote_files
after_save :create_version
after_save :update_parent_on_save
after_save :apply_post_metatags
after_create :update_iqdb_async
after_destroy :remove_iqdb_async
before_save :merge_old_changes
before_save :normalize_tags
before_save :update_tag_post_counts