mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 10:35:52 +08:00
trigger observers, wow this is all very complicated and full of duct tape
This commit is contained in:
parent
fda6cce0de
commit
ee95d7df9c
@ -149,8 +149,7 @@ class PostAction < ActiveRecord::Base
|
||||
|
||||
def remove_act!(user)
|
||||
trash!(user)
|
||||
update_counters
|
||||
enforce_rules
|
||||
run_callbacks(:save)
|
||||
end
|
||||
|
||||
def is_bookmark?
|
||||
|
Loading…
x
Reference in New Issue
Block a user