Completed
Branch 7.x-3.x (9d48fc)
by Devin
04:36
created
commons_follow_ui/commons_follow_ui.commons_utility_links.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
   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,
Please login to merge, or discard this patch.
modules/commons/commons_media/commons_media.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
commons_trusted_contacts/commons_trusted_contacts.commons_utility_links.inc 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     // Add a link to the user's invitations.
36 36
     if ($unread_invitations) {
37
-      $links['unread-invitations']= array(
37
+      $links['unread-invitations'] = array(
38 38
         'href' => 'user/' . $user->uid . '/contacts',
39 39
         'query' => array('qt-commons_trusted_contacts' => 'invitations'),
40 40
         'title' => format_plural($unread_invitations, '1 invitation', '@count invitations'),
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     // Add a link to the user's unread messages.
46 46
     if ($unread_messages) {
47
-      $links['unread-messages']= array(
47
+      $links['unread-messages'] = array(
48 48
         'href' => 'user/' . $user->uid . '/contacts',
49 49
         'query' => array('qt-commons_trusted_contacts' => 'messages'),
50 50
         'title' => format_plural($unread_messages, '1 message', '@count messages'),
Please login to merge, or discard this patch.
modules/commons/commons_trusted_contacts/commons_trusted_contacts.module 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     'page callback' => 'commons_trusted_contacts_request_trust',
80 80
     'page arguments' => array(1, 3),
81 81
     'access callback' => 'commons_trusted_contacts_request_trust_access',
82
-    'access arguments' => array(1,2),
82
+    'access arguments' => array(1, 2),
83 83
     'type' => MENU_CALLBACK,
84 84
   );
85 85
 
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
       }
337 337
 
338 338
       // Hide the trust link from anonymous and users without subscribe access.
339
-      list($id, , $bundle) = entity_extract_ids($entity_type, $entity);
339
+      list($id,, $bundle) = entity_extract_ids($entity_type, $entity);
340 340
       $user_is_active_member = og_is_member($entity_type, $id, 'user', $account, array(OG_STATE_ACTIVE));
341 341
       if (!$account->uid || !og_user_access('user', $entity->uid, 'subscribe') && !$user_is_active_member) {
342 342
         return;
Please login to merge, or discard this patch.
modules/commons/commons_utility_links/commons_utility_links.api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
   if (user_is_logged_in()) {
37 37
     global $user;
38 38
     $account = $user;
39
-    $links['find_fiends']= array(
39
+    $links['find_fiends'] = array(
40 40
       'href' => 'user/' . $account->uid . '/find_friends',
41 41
       'title' => t('Find friends'),
42 42
     );
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.
commons_events/modules/commons_events_solr/commons_events_solr.module 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
   if (empty($env_id)) {
24 24
     $env_id = commons_events_solr_search_environment();
25 25
   }
26
-  foreach($facets as $facet) {
26
+  foreach ($facets as $facet) {
27 27
     $facet['settings'] = serialize($facet['settings']);
28 28
     $facet['name'] = $env_id . $facet['name'];
29 29
     $facet['searcher'] = $env_id;
Please login to merge, or discard this patch.
modules/commons/commons_events/commons_events.module 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
   if ($type == 'node' && isset($build['#node'])) {
204 204
     $node = $build['#node'];
205 205
 
206
-    list(, , $bundle) = entity_extract_ids('node', $node);
206
+    list(,, $bundle) = entity_extract_ids('node', $node);
207 207
 
208 208
     if ($bundle == 'event') {
209 209
       $build['attending'] = array(
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 function commons_events_form_node_form_alter(&$form, &$form_state, $form_id) {
235 235
   $node = $form_state['node'];
236 236
 
237
-  list(, , $bundle) = entity_extract_ids('node', $node);
237
+  list(,, $bundle) = entity_extract_ids('node', $node);
238 238
 
239 239
   if ($bundle == 'event' && empty($node->nid)) {
240 240
     drupal_set_title(t('Create an event'));
Please login to merge, or discard this patch.