summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/class/object.class.php8
-rw-r--r--app/class/user.class.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/app/class/object.class.php b/app/class/object.class.php
index cfc452c..8f64fc4 100644
--- a/app/class/object.class.php
+++ b/app/class/object.class.php
@@ -593,6 +593,14 @@ abstract class Object extends Framework
return false;
}
+
+ /*
+ * Get object's head image
+ */
+ function getHeadImage()
+ {
+ return $this->ar() . "/file.php?d=img/heads&f=" . $this->guid;
+ }
}
/*
diff --git a/app/class/user.class.php b/app/class/user.class.php
index 3239568..44b4b5f 100644
--- a/app/class/user.class.php
+++ b/app/class/user.class.php
@@ -214,14 +214,6 @@ class User extends Object
}
/*
- * Get this user's head image
- */
- function getHeadImage()
- {
- return $this->ar() . "/file.php?d=img/heads&f=" . $this->guid;
- }
-
- /*
* Remove this user's head image
*/
function rmHeadImage()