Skip to content
Snippets Groups Projects
Commit 3faca838 authored by Alec Leamas's avatar Alec Leamas
Browse files

Revert "Merge remote branch 'upstream/master'"

This reverts commit 4bb5aeb3, reversing
changes made to fb70dc8c.
parent c08121e6
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ class User
#after_create :seed_aspects
before_destroy :unfriend_everyone, :remove_person
before_destroy :unfriend_everyone, :remove_person, :remove_all_aspects
def strip_username
if username.present?
......@@ -436,4 +436,8 @@ class User
end
}
end
def remove_all_aspects
aspects.destroy_all
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment