Completed
Push — 7.x-3.x ( daa35d...1b5187 )
by Devin
03:09
created
modules/commons/commons_activity_streams/commons_activity_streams.module 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -130,10 +130,10 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
modules/commons/commons_follow/includes/views/commons_follow.views.inc 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     'title' => t('User Follow'), // The item it appears as on the UI,
29 29
     'help' => t('Whether the user is following this content.'), // The help that appears on the UI,
30 30
     'real field' => 'nid',
31
-     // Information for displaying a title as a field
31
+      // Information for displaying a title as a field
32 32
     'filter' => array(
33 33
       'handler' => 'commons_follow_user_follow_filter',
34 34
       'label' => t('Following'),
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     'title' => t('User Follow'), // The item it appears as on the UI,
41 41
     'help' => t('Whether the user is following items related to this message.'), // The help that appears on the UI,
42 42
     'real field' => 'mid',
43
-     // Information for displaying a title as a field
43
+      // Information for displaying a title as a field
44 44
     'filter' => array(
45 45
       'handler' => 'commons_follow_user_follow_filter_message',
46 46
       'label' => t('Following'),
Please login to merge, or discard this patch.
modules/commons/commons_groups/commons_groups.features.field_instance.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@
 block discarded – undo
214 214
       'weight' => 1,
215 215
     ),
216 216
   );
217
-   // Exported field_instance: 'node-group-body'
217
+    // Exported field_instance: 'node-group-body'
218 218
   $field_instances["$entity_type-$bundle-body"] = array(
219 219
     'bundle' => $bundle,
220 220
     'default_value' => NULL,
Please login to merge, or discard this patch.
modules/commons/commons_events/includes/commons_events.forms.inc 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
  * Commons Events form declarations.
5 5
  */
6 6
 
7
- /**
8
- * Form builder for Attend call to action on events, as long as registration
9
- * is available onsite.
10
- */
7
+  /**
8
+   * Form builder for Attend call to action on events, as long as registration
9
+   * is available onsite.
10
+   */
11 11
 function commons_events_attend_event_form($form, &$form_state, $event_node, $registration = NULL, $attendee_count = 0) {
12 12
   $form_state['event_node'] = $event_node;
13 13
   if (!registration_status('node', $event_node->nid, TRUE)) {
Please login to merge, or discard this patch.
modules/commons/commons_groups/commons_groups.features.field_base.inc 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
   );
146 146
 
147 147
 // Exported field_base: 'og_group_ref'
148
- $field_bases['og_group_ref'] = array(
148
+  $field_bases['og_group_ref'] = array(
149 149
     'active' => '1',
150 150
     'cardinality' => '-1',
151 151
     'deleted' => '0',
Please login to merge, or discard this patch.
modules/commons/commons_polls/commons_polls.module 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 /**
10 10
 * Implements hook_strongarm_alter().
11 11
 */
12
- function commons_polls_strongarm_alter(&$items) {
12
+  function commons_polls_strongarm_alter(&$items) {
13 13
   // Expose the poll content type for integration with Commons Radioactivity
14 14
   // and Commons Groups.
15 15
   foreach (array('commons_radioactivity_entity_types', 'commons_groups_entity_types') as $key) {
Please login to merge, or discard this patch.
modules/commons/commons_like/commons_like.module 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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_wikis/commons_wikis.module 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -134,7 +134,7 @@
 block discarded – undo
134 134
 /**
135 135
  * Implements hook_strongarm_alter().
136 136
  */
137
- function commons_wikis_strongarm_alter(&$items) {
137
+  function commons_wikis_strongarm_alter(&$items) {
138 138
   // Expose the wiki content type for integration with Commons Radioactivity
139 139
   // and Commons Groups.
140 140
   foreach (array('commons_radioactivity_entity_types', 'commons_groups_entity_types') as $key) {
Please login to merge, or discard this patch.
modules/commons/commons_posts/commons_posts.module 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 /**
74 74
  * Implements hook_strongarm_alter().
75 75
  */
76
- function commons_posts_strongarm_alter(&$items) {
76
+  function commons_posts_strongarm_alter(&$items) {
77 77
   // Expose the post content type for integration with Commons Radioactivity
78 78
   // and Commons Groups.
79 79
   foreach (array('commons_radioactivity_entity_types', 'commons_groups_entity_types') as $key) {
Please login to merge, or discard this patch.