@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow.features.field_base.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow.features.field_base.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_bases(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Follow (Taxonomy terms) feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Follow (Taxonomy terms) feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_follow_term.features.inc'; |
| 8 | 8 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow_term.views_default.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow_term.views_default.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_views_default_views(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow_term.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow_term.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_views_api(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_ctools_plugin_api(). |
@@ -1,8 +1,8 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Follow (Users) feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Follow (Users) feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_follow_user.features.inc'; |
| 8 | 8 | |
@@ -92,12 +92,12 @@ discard block |
||
| 92 | 92 | function commons_follow_user_existing_follow_message($acting_uid, $target_uids) { |
| 93 | 93 | $query = new EntityFieldQuery(); |
| 94 | 94 | $query->entityCondition('entity_type', 'message', '=') |
| 95 | - ->propertyCondition('uid', $acting_uid) |
|
| 96 | - ->propertyCondition('type', 'commons_follow_user_user_followed', '=') |
|
| 97 | - ->fieldCondition('field_target_users', 'target_id', $target_uids, 'IN') |
|
| 98 | - ->execute(); |
|
| 95 | + ->propertyCondition('uid', $acting_uid) |
|
| 96 | + ->propertyCondition('type', 'commons_follow_user_user_followed', '=') |
|
| 97 | + ->fieldCondition('field_target_users', 'target_id', $target_uids, 'IN') |
|
| 98 | + ->execute(); |
|
| 99 | 99 | |
| 100 | - return !empty($query->ordered_results); |
|
| 100 | + return !empty($query->ordered_results); |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | /** |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow_user.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow_user.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_ctools_plugin_api(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_follow_user.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_follow_user.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |