summaryrefslogtreecommitdiff
path: root/classes/User_group.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/User_group.php')
-rw-r--r--classes/User_group.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/User_group.php b/classes/User_group.php
index a135015ba..1be34b60b 100644
--- a/classes/User_group.php
+++ b/classes/User_group.php
@@ -137,4 +137,9 @@ class User_group extends Memcached_DataObject
common_debug(common_log_objstring($this));
return $this->update($orig);
}
+
+ function getBestName()
+ {
+ return ($this->fullname) ? $this->fullname : $this->nickname;
+ }
}