1
0
mirror of https://github.com/flarum/core.git synced 2025-07-07 18:15:04 +02:00

Remove user bio feature (#1214)

The feature is very limited in scope, and we hope for community
extensions to take over this feature and make it much better.
This commit is contained in:
Franz Liedke
2017-11-02 01:12:49 +01:00
committed by GitHub
parent 1b7cb3bec2
commit 914b94b62d
10 changed files with 2 additions and 358 deletions

View File

@ -16,8 +16,6 @@ Object.assign(User.prototype, {
password: Model.attribute('password'),
avatarUrl: Model.attribute('avatarUrl'),
bio: Model.attribute('bio'),
bioHtml: computed('bio', bio => bio ? '<p>' + $('<div/>').text(bio).html().replace(/\n/g, '<br>').autoLink({rel: 'nofollow'}) + '</p>' : ''),
preferences: Model.attribute('preferences'),
groups: Model.hasMany('groups'),