summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/users.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/models/users.js b/models/users.js
index bb7ecc45..45e2170e 100644
--- a/models/users.js
+++ b/models/users.js
@@ -47,19 +47,6 @@ Users.helpers({
return _.contains(invitedBoards, boardId);
},
- getAvatarUrl() {
- // Although we put the avatar picture URL in the `profile` object, we need
- // to support Sandstorm which put in the `picture` attribute by default.
- // XXX Should we move both cases to `picture`?
- if (this.picture) {
- return this.picture;
- } else if (this.profile && this.profile.avatarUrl) {
- return this.profile.avatarUrl;
- } else {
- return null;
- }
- },
-
getInitials() {
const profile = this.profile || {};
if (profile.initials)