mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 20:47:15 +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)
|
def remove_act!(user)
|
||||||
trash!(user)
|
trash!(user)
|
||||||
update_counters
|
run_callbacks(:save)
|
||||||
enforce_rules
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def is_bookmark?
|
def is_bookmark?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user