summaryrefslogtreecommitdiffstats
path: root/app/class/user.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/user.class.php')
-rw-r--r--app/class/user.class.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/class/user.class.php b/app/class/user.class.php
index 1130396..ab9ecf5 100644
--- a/app/class/user.class.php
+++ b/app/class/user.class.php
@@ -187,6 +187,14 @@ class User extends Object
return "glyphicon glyphicon-user";
}
+
+ /*
+ * Get this user's head image
+ */
+ function getHeadImage()
+ {
+ return $this->ar() . "/file.php?d=img/heads&f=" . $this->guid;
+ }
}
?>