fix tests, implement limits for favorites

This commit is contained in:
albert
2013-03-18 12:41:33 -07:00
parent 47e1f3526f
commit 770ace0e68
3 changed files with 11 additions and 14 deletions

View File

@@ -782,7 +782,6 @@ class Post < ActiveRecord::Base
update_parent_on_destroy
# decrement_tag_post_counts
update_column(:parent_id, nil)
Post.expire_cache_for_all(tag_array)
unless options[:without_mod_action]
ModAction.create(:description => "deleted post ##{id}")