summaryrefslogtreecommitdiff
path: root/classes/Profile.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-14 23:02:02 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-14 23:02:02 -0400
commit024dc6c09817da701cff275a29d41ae2d4d777e9 (patch)
tree7d167dbfa3e9c45db0c088b224f9a2a9b22bce4b /classes/Profile.php
parent025dcb985260f5c61e85027664908ea8a57d48c5 (diff)
email notification on new subscriptions
darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz
Diffstat (limited to 'classes/Profile.php')
-rw-r--r--classes/Profile.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/Profile.php b/classes/Profile.php
index b7bd2a2d9..5a45d4397 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -133,4 +133,8 @@ class Profile extends DB_DataObject
}
return true;
}
+
+ function getBestName() {
+ return ($this->fullname) ? $this->fullname : $this->nickname;
+ }
}