Merge remote-tracking branch 'upstream/pull/3403'
This commit is contained in:
commit
5a70476d38
4 changed files with 7 additions and 7 deletions
|
@ -242,8 +242,8 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
##
|
||||
# delete a user - leave the account but purge most personal data
|
||||
def delete
|
||||
# destroy a user - leave the account but purge most personal data
|
||||
def destroy
|
||||
avatar.purge_later
|
||||
|
||||
self.display_name = "user_#{id}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue