diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 16:48:21 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 16:48:21 -0500 |
commit | 6f31f25105f59bee5d6a8eccf43952e1396846b3 (patch) | |
tree | ca3fe49756d05e81b5b2fed39bd3f0953fbb3fb8 /classes/User.php | |
parent | 8a0c438aedebaa0282e4f23c83dbe0d7d2635f33 (diff) |
let users set their own profile tags from profilesettings
darcs-hash:20081120214821-84dde-c8569ef645b389de545f78bf01a270f28b871f02.gz
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); + } } |