mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-28 15:50:09 -04:00
trigger observers, wow this is all very complicated and full of duct tape
This commit is contained in:
parent
fda6cce0de
commit
ee95d7df9c
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue