mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
removed unnecesary method
This commit is contained in:
parent
56764f817b
commit
bca006feca
1 changed files with 0 additions and 4 deletions
|
@ -106,10 +106,6 @@ class Category < ActiveRecord::Base
|
|||
errors.add(:slug, I18n.t(:is_reserved)) if slug == SiteSetting.uncategorized_name
|
||||
end
|
||||
|
||||
def secure?
|
||||
self.secure
|
||||
end
|
||||
|
||||
def group_names=(names)
|
||||
# this line bothers me, destroying in AR can not seem to be queued, thinking of extending it
|
||||
category_groups.destroy_all unless new_record?
|
||||
|
|
Loading…
Reference in a new issue