Completed
Push — 7.x-3.x ( daa35d...1b5187 )
by Devin
03:09
created
modules/commons/commons_wikis/commons_wikis.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 function commons_wikis_form_node_form_alter(&$form, &$form_state, $form_id) {
84 84
   $node = $form['#node'];
85 85
 
86
-  list(, , $bundle) = entity_extract_ids('node', $node);
86
+  list(,, $bundle) = entity_extract_ids('node', $node);
87 87
 
88 88
   if ($bundle == 'wiki' && empty($node->nid)) {
89 89
     drupal_set_title(t('Create a wiki'));
Please login to merge, or discard this patch.
modules/commons/commons_topics/commons_topics.features.field_instance.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
   $commons_groups_entity_types = commons_topics_get_entity_types_with_topics();
15 15
   if (!empty($commons_groups_entity_types)) {
16 16
     foreach ($commons_groups_entity_types as $entity_type => $bundles) {
17
-      foreach(array_keys($bundles) as $bundle) {
17
+      foreach (array_keys($bundles) as $bundle) {
18 18
         commons_topics_field_definition($field_instances, $entity_type, $bundle);
19 19
       }
20 20
     }
Please login to merge, or discard this patch.
modules/commons/commons_posts/commons_posts.commons.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
  */
40 40
 function commons_posts_commons_bw_create_all_widget($group) {
41 41
   if (og_user_access('node', $group->nid, 'create post content')) {
42
-    $link = l(t('Create a post'),'node/add/post',
42
+    $link = l(t('Create a post'), 'node/add/post',
43 43
       array('attributes' => array('class' => 'commons-posts-create'), 'query' => array('og_group_ref' => $group->nid))
44 44
     );
45 45
     return array(
Please login to merge, or discard this patch.
modules/commons/commons_posts/commons_posts.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 function commons_posts_form_node_form_alter(&$form, &$form_state, $form_id) {
13 13
   $node = $form['#node'];
14 14
 
15
-  list(, , $bundle) = entity_extract_ids('node', $node);
15
+  list(,, $bundle) = entity_extract_ids('node', $node);
16 16
 
17 17
   if ($bundle == 'post' && empty($node->nid)) {
18 18
     drupal_set_title(t('Create a post'));
Please login to merge, or discard this patch.
commons_follow/commons_follow_user/commons_follow_user.views_default.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@
 block discarded – undo
343 343
   $handler->display->display_options['style_options']['wrapper_class'] = 'view-profile-badges';
344 344
   $handler->display->display_options['row_plugin'] = 'fields';
345 345
   $handler->display->display_options['row_options']['hide_empty'] = TRUE;
346
-  $handler->display->display_options['row_options']['default_field_elements'] = FALSE;  /* No results behavior: Global: Text area */
346
+  $handler->display->display_options['row_options']['default_field_elements'] = FALSE; /* No results behavior: Global: Text area */
347 347
   $handler->display->display_options['empty']['area']['id'] = 'area';
348 348
   $handler->display->display_options['empty']['area']['table'] = 'views';
349 349
   $handler->display->display_options['empty']['area']['field'] = 'area';
Please login to merge, or discard this patch.
modules/commons/commons_documents/commons_documents.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 function commons_documents_form_node_form_alter(&$form, &$form_state, $form_id) {
13 13
   $node = $form['#node'];
14 14
 
15
-  list(, , $bundle) = entity_extract_ids('node', $node);
15
+  list(,, $bundle) = entity_extract_ids('node', $node);
16 16
 
17 17
   if ($bundle == 'document' && empty($node->nid)) {
18 18
     drupal_set_title(t('Create a document'));
Please login to merge, or discard this patch.
modules/commons/commons_documents/commons_documents.commons.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
  */
41 41
 function commons_documents_commons_bw_create_all_widget($group) {
42 42
   if (og_user_access('node', $group->nid, 'create document content')) {
43
-    $link = l(t('Create a document'),'node/add/document',
43
+    $link = l(t('Create a document'), 'node/add/document',
44 44
       array('attributes' => array('class' => 'commons-documents-create'), 'query' => array('og_group_ref' => $group->nid))
45 45
     );
46 46
     return array(
Please login to merge, or discard this patch.
modules/commons/commons_q_a/commons_q_a.commons.inc 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
  */
45 45
 function commons_q_a_commons_bw_create_all_widget($group) {
46 46
   if (og_user_access('node', $group->nid, 'create question content')) {
47
-    $link = l(t('Ask a question'),'node/add/question',
47
+    $link = l(t('Ask a question'), 'node/add/question',
48 48
       array('attributes' => array('class' => 'commons-q-a-create'), 'query' => array('og_group_ref' => $group->nid))
49 49
     );
50 50
     return array(
Please login to merge, or discard this patch.
commons.install_callbacks.inc 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
   // Create a user for each username.
33 33
   foreach ($demo_usernames as $username) {
34
-    list($first_name, $last_name)  = explode(" ", $username);
34
+    list($first_name, $last_name) = explode(" ", $username);
35 35
     $normalized_username = commons_normalize_name($username);
36 36
     $password = user_password(8);
37 37
 
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
   $event->field_address[LANGUAGE_NONE][0]['postal_code'] = '01803';
208 208
   $event->field_address[LANGUAGE_NONE][0]['country'] = 'US';
209 209
   $event->field_address[LANGUAGE_NONE][0]['location'] = 'Waterfront';
210
-  $event->field_address[LANGUAGE_NONE][0]['administrative_area']  = 'MA';
210
+  $event->field_address[LANGUAGE_NONE][0]['administrative_area'] = 'MA';
211 211
   $event->field_address[LANGUAGE_NONE][0]['locality'] = 'Boston';
212 212
   $event->og_group_ref[LANGUAGE_NONE][0]['target_id'] = $demo_groups['boston']->nid;
213 213
   node_save($event);
Please login to merge, or discard this patch.