DEV: remove unused method

confirmed not used in all_the_plugins not used in core
This commit is contained in:
Sam Saffron 2019-10-31 08:59:32 +11:00
parent 2ae21e9c35
commit fc06cfa90b
1 changed files with 0 additions and 5 deletions

View File

@ -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?