Completed
Push — 7.x-3.x ( ae8d10...902f1e )
by Devin
07:34 queued 04:58
created
modules/commons/commons_events/commons_events.strongarm.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_events.strongarm.inc
5
- */
3
+   * @file
4
+   * commons_events.strongarm.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_strongarm().
Please login to merge, or discard this patch.
modules/commons/commons_events/commons_events.features.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_events.features.inc
5
- */
3
+   * @file
4
+   * commons_events.features.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_ctools_plugin_api().
Please login to merge, or discard this patch.
modules/commons/commons_events/commons_events.features.field_instance.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_events.features.field_instance.inc
5
- */
3
+   * @file
4
+   * commons_events.features.field_instance.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_field_default_field_instances().
Please login to merge, or discard this patch.
modules/commons/commons_events/commons_events.module 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Drupal Commons Events feature.
5
- */
3
+   * @file
4
+   * Drupal Commons Events feature.
5
+   */
6 6
 
7 7
 include_once 'commons_events.features.inc';
8 8
 
Please login to merge, or discard this patch.
modules/commons/commons_events/commons_events.features.field_base.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_events.features.field_base.inc
5
- */
3
+   * @file
4
+   * commons_events.features.field_base.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_field_default_field_bases().
Please login to merge, or discard this patch.
modules/commons/commons_body/commons_body.features.field_base.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_body.features.field_base.inc
5
- */
3
+   * @file
4
+   * commons_body.features.field_base.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_field_default_field_bases().
Please login to merge, or discard this patch.
modules/commons/commons_body/commons_body.module 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Drupal needs this blank file.
5
- */
3
+   * @file
4
+   * Drupal needs this blank file.
5
+   */
Please login to merge, or discard this patch.
modules/commons/commons_like/commons_like.features.field_instance.inc 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * commons_like.features.field_instance.inc
5
- */
3
+   * @file
4
+   * commons_like.features.field_instance.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_field_default_field_instances().
Please login to merge, or discard this patch.
modules/commons/commons_like/commons_like.module 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @file
4
- * Code for the Commons Like feature.
5
- */
3
+   * @file
4
+   * Code for the Commons Like feature.
5
+   */
6 6
 
7 7
 include_once 'commons_like.features.inc';
8 8
 
9 9
 /**
10 10
  * Implements hook_strongarm_alter().
11 11
  */
12
- function commons_like_strongarm_alter(&$items) {
12
+  function commons_like_strongarm_alter(&$items) {
13 13
   // Expose the Post content type for 'liking' via the Commons_like module
14 14
   // by altering the configuration for the Rate.module widget that it provides.
15 15
   if (!empty($items['rate_widgets']->value)) {
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
 function commons_like_existing_node_like_messages($acting_uid, $target_nids) {
69 69
   $query = new EntityFieldQuery();
70 70
   $query->entityCondition('entity_type', 'message', '=')
71
-   ->propertyCondition('uid', $acting_uid)
72
-   ->propertyCondition('type', 'commons_like_user_likes_node', '=')
73
-   ->fieldCondition('field_target_nodes', 'target_id', $target_nids, 'IN')
74
-   ->execute();
71
+    ->propertyCondition('uid', $acting_uid)
72
+    ->propertyCondition('type', 'commons_like_user_likes_node', '=')
73
+    ->fieldCondition('field_target_nodes', 'target_id', $target_nids, 'IN')
74
+    ->execute();
75 75
 
76 76
   if (!empty($query->ordered_results)) {
77 77
     $mids = array();
Please login to merge, or discard this patch.