From f80cd3273e9ff8fd64262d9d076d639cbe71ac88 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 23 Nov 2008 22:15:49 -0500 Subject: only get tags for this profile list type darcs-hash:20081124031549-84dde-c537cb25f301ac3368440d4d5f583ea3d713ac2c.gz --- classes/Profile.php | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'classes/Profile.php') diff --git a/classes/Profile.php b/classes/Profile.php index 5f762df80..794dc1de9 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -145,20 +145,4 @@ class Profile extends Memcached_DataObject } return NULL; } - - # Get list of tags we tagged other users with - - function getAllTags() { - $profile_tag = new Notice_tag(); - $profile_tag->query('SELECT DISTINCT(tag) ' . - 'FROM profile_tag ' . - 'WHERE tagger = ' . $this->id . ' ' . - 'AND tagger != tagged'); - $tags = array(); - while ($profile_tag->fetch()) { - $tags[] = $profile_tag->tag; - } - $profile_tag->free(); - return $tags; - } } -- cgit v1.2.3-54-g00ecf