| 1 |
<?php |
<?php |
| 2 |
// $Id: $ |
// $Id: interests.module,v 1.7 2009/04/24 06:43:38 agileware Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file interests.module |
* @file interests.module |
| 306 |
$terms = taxonomy_node_get_terms($node); |
$terms = taxonomy_node_get_terms($node); |
| 307 |
if ($terms) { |
if ($terms) { |
| 308 |
foreach ($terms as $term) { |
foreach ($terms as $term) { |
| 309 |
if (interests_is_interest($user->uid, $term->tid)) { |
if (in_array($term->vid, $current_vocabs)) { |
| 310 |
_interests_dynamic_add($term->tid, $user->uid); |
_interests_dynamic_add($term->tid, $user->uid); |
| 311 |
} |
} |
| 312 |
} |
} |