@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_activity_streams.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_activity_streams.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_activity_streams.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_activity_streams.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_activity_page.pages_default.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_activity_page.pages_default.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_default_page_manager_pages(). |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Activity Page feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Activity Page feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_activity_page.features.inc'; |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the Commons Activity Streams Groups feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Activity Streams Groups feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_activity_streams_groups.features.inc'; |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_activity_streams_groups.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_activity_streams_groups.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_activity_streams.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_activity_streams.features.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_ctools_plugin_api(). |
@@ -130,10 +130,10 @@ |
||
| 130 | 130 | function commons_activity_streams_existing_messages($acting_uid, $target_ids, $target_field, $message_type) { |
| 131 | 131 | $query = new EntityFieldQuery(); |
| 132 | 132 | $query->entityCondition('entity_type', 'message', '=') |
| 133 | - ->propertyCondition('uid', $acting_uid) |
|
| 134 | - ->propertyCondition('type', $message_type, '=') |
|
| 135 | - ->fieldCondition($target_field, 'target_id', $target_ids, 'IN') |
|
| 136 | - ->execute(); |
|
| 133 | + ->propertyCondition('uid', $acting_uid) |
|
| 134 | + ->propertyCondition('type', $message_type, '=') |
|
| 135 | + ->fieldCondition($target_field, 'target_id', $target_ids, 'IN') |
|
| 136 | + ->execute(); |
|
| 137 | 137 | |
| 138 | 138 | if (!empty($query->ordered_results)) { |
| 139 | 139 | $mids = array(); |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | |
| 138 | 138 | if (!empty($query->ordered_results)) { |
| 139 | 139 | $mids = array(); |
| 140 | - foreach($query->ordered_results as $result) { |
|
| 140 | + foreach ($query->ordered_results as $result) { |
|
| 141 | 141 | $mids[] = $result->entity_id; |
| 142 | 142 | } |
| 143 | 143 | return $mids; |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | |
| 253 | 253 | foreach ($tokens as $token => $original) { |
| 254 | 254 | if (strpos($token, 'picture:') !== FALSE) { |
| 255 | - list( , $style) = explode(':', $token); |
|
| 255 | + list(, $style) = explode(':', $token); |
|
| 256 | 256 | |
| 257 | 257 | // Prefer unique account pictures but fall back to the default user |
| 258 | 258 | // picture if necessary. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_profile_social.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_profile_social.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |