Completed
Push — 7.x-3.x ( 00546f...21089d )
by Devin
04:13 queued 01:28
created
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 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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)) {
16
-    foreach($items['rate_widgets']->value as $key => $widget) {
16
+    foreach ($items['rate_widgets']->value as $key => $widget) {
17 17
       if ($widget->name == 'commons_like') {
18 18
         $commons_entity_integrations = commons_entity_integration_info();
19 19
         if (!empty($commons_entity_integrations['node'])) {
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
   if (!empty($query->ordered_results)) {
77 77
     $mids = array();
78
-    foreach($query->ordered_results as $result) {
78
+    foreach ($query->ordered_results as $result) {
79 79
       $mids[] = $result->entity_id;
80 80
     }
81 81
     return $mids;
Please login to merge, or discard this 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.
modules/commons/commons_like/commons_like.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_like.features.inc
5
- */
3
+   * @file
4
+   * commons_like.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_like/commons_like.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_like.strongarm.inc
5
- */
3
+   * @file
4
+   * commons_like.strongarm.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_strongarm().
Please login to merge, or discard this patch.
modules/commons/commons_polls/commons_polls.features.user_permission.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_polls.features.user_permission.inc
5
- */
3
+   * @file
4
+   * commons_polls.features.user_permission.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_user_default_permissions().
Please login to merge, or discard this patch.
modules/commons/commons_polls/commons_polls.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_polls.features.inc
5
- */
3
+   * @file
4
+   * commons_polls.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_polls/commons_polls.views_default.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_polls.views_default.inc
5
- */
3
+   * @file
4
+   * commons_polls.views_default.inc
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_views_default_views().
Please login to merge, or discard this patch.
modules/commons/commons_polls/commons_polls.commons.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 module integration for the Commons Polls module.
5
- */
3
+   * @file
4
+   * Commons module integration for the Commons Polls module.
5
+   */
6 6
 
7 7
 /**
8 8
  * Implements hook_commons_entity_integration().
Please login to merge, or discard this patch.
modules/commons/commons_polls/commons_polls.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_polls.features.field_instance.inc
5
- */
3
+   * @file
4
+   * commons_polls.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.