diff options
Diffstat (limited to 'classes/User.php')
-rw-r--r-- | classes/User.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php index 45b133213..696c85e73 100644 --- a/classes/User.php +++ b/classes/User.php @@ -401,4 +401,12 @@ class User extends Memcached_DataObject $cache->delete(common_cache_key('user:faves:'.$this->id).';last'); } } + + function getSelfTags() { + return Profile_tag::getTags($this->id, $this->id); + } + + function setSelfTags($newtags) { + return Profile_tag::setTags($this->id, $this->id, $newtags); + } } |