mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: bookmark topic button
This commit is contained in:
@@ -7,8 +7,14 @@ class PostActionType < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def types
|
||||
@types ||= Enum.new(:bookmark, :like, :off_topic, :inappropriate, :vote,
|
||||
:notify_user, :notify_moderators, :spam)
|
||||
@types ||= Enum.new(:bookmark,
|
||||
:like,
|
||||
:off_topic,
|
||||
:inappropriate,
|
||||
:vote,
|
||||
:notify_user,
|
||||
:notify_moderators,
|
||||
:spam)
|
||||
end
|
||||
|
||||
def auto_action_flag_types
|
||||
|
||||
@@ -280,7 +280,6 @@ SQL
|
||||
end
|
||||
|
||||
def self.ensure_consistency!(topic_id=nil)
|
||||
|
||||
update_post_action_cache
|
||||
|
||||
# TODO this needs some reworking, when we mark stuff skipped
|
||||
|
||||
Reference in New Issue
Block a user