@@ -14,7 +14,7 @@ |
||
| 14 | 14 | if (user_is_logged_in()) { |
| 15 | 15 | global $user; |
| 16 | 16 | $account = $user; |
| 17 | - $links['settings']= array( |
|
| 17 | + $links['settings'] = array( |
|
| 18 | 18 | 'href' => 'user/' . $account->uid . '/notification-settings', |
| 19 | 19 | 'title' => t('Settings'), |
| 20 | 20 | 'weight' => 10, |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_media.features.user_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_media.features.user_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_user_default_permissions(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_media.features.field_base.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_media.features.field_base.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_bases(). |
@@ -79,8 +79,7 @@ |
||
| 79 | 79 | foreach (commons_media_filter_parse_from_fields($entity_type, $entity) as $file_reference) { |
| 80 | 80 | if (empty($entity_files[$file_reference['fid']])) { |
| 81 | 81 | $entity_files[$file_reference['fid']] = 1; |
| 82 | - } |
|
| 83 | - else { |
|
| 82 | + } else { |
|
| 84 | 83 | $entity_files[$file_reference['fid']]++; |
| 85 | 84 | } |
| 86 | 85 | } |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_media.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_media.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_media.features.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_media.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_media.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_media.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 Media feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the Commons Media feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'commons_media.features.inc'; |
| 8 | 8 | |
@@ -340,7 +340,7 @@ |
||
| 340 | 340 | $collected_fields = array(); |
| 341 | 341 | |
| 342 | 342 | // Determine the list of instances to iterate on. |
| 343 | - list(, , $bundle) = entity_extract_ids($type, $entity); |
|
| 343 | + list(,, $bundle) = entity_extract_ids($type, $entity); |
|
| 344 | 344 | $instances = field_info_instances($type, $bundle); |
| 345 | 345 | $fields = field_info_fields(); |
| 346 | 346 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * commons_notify.features.field_base.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * commons_notify.features.field_base.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_bases(). |