示例#1
0
 /**
  * Delete the tags for the user.
  *
  * @param integer $itemId The item ID.
  *
  * @return void
  */
 public function deleteTagsByUser($userId)
 {
     // Get all the user-tags relations
     $tagUserRelations = $this->_tagsUsers->getUserTagIds($userId);
     $this->_tagsModules->deleteRelationsByUser($tagUserRelations);
     $this->_tagsUsers->deleteUserTags($userId);
 }