mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 22:26:26 +08:00
DEV: remove unused method
confirmed not used in all_the_plugins not used in core
This commit is contained in:
parent
2ae21e9c35
commit
fc06cfa90b
|
@ -595,11 +595,6 @@ class User < ActiveRecord::Base
|
|||
MessageBus.publish("/notification/#{id}", payload, user_ids: [id])
|
||||
end
|
||||
|
||||
# A selection of people to autocomplete on @mention
|
||||
def self.mentionable_usernames
|
||||
User.select(:username).order('last_posted_at desc').limit(20)
|
||||
end
|
||||
|
||||
def password=(password)
|
||||
# special case for passwordless accounts
|
||||
unless password.blank?
|
||||
|
|
Loading…
Reference in New Issue
Block a user