Passed
Push — master ( c82ab6...b1bfac )
by Christian
07:15 queued 10s
created
sites/all/features/team_forums/team_forums.features.user_permission.inc 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -4,55 +4,55 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function team_forums_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: create team_forum content
10
-  $permissions['create team_forum content'] = array(
9
+    // Exported permission: create team_forum content
10
+    $permissions['create team_forum content'] = array(
11 11
     'name' => 'create team_forum content',
12 12
     'roles' => array(
13
-      '0' => 'verified contributor',
13
+        '0' => 'verified contributor',
14 14
     ),
15
-  );
15
+    );
16 16
 
17
-  // Exported permission: delete any team_forum content
18
-  $permissions['delete any team_forum content'] = array(
17
+    // Exported permission: delete any team_forum content
18
+    $permissions['delete any team_forum content'] = array(
19 19
     'name' => 'delete any team_forum content',
20 20
     'roles' => array(
21
-      '0' => 'administrator',
21
+        '0' => 'administrator',
22 22
     ),
23
-  );
23
+    );
24 24
 
25
-  // Exported permission: delete own team_forum content
26
-  $permissions['delete own team_forum content'] = array(
25
+    // Exported permission: delete own team_forum content
26
+    $permissions['delete own team_forum content'] = array(
27 27
     'name' => 'delete own team_forum content',
28 28
     'roles' => array(
29
-      '0' => 'community member',
29
+        '0' => 'community member',
30 30
     ),
31
-  );
31
+    );
32 32
 
33
-  // Exported permission: edit any team_forum content
34
-  $permissions['edit any team_forum content'] = array(
33
+    // Exported permission: edit any team_forum content
34
+    $permissions['edit any team_forum content'] = array(
35 35
     'name' => 'edit any team_forum content',
36 36
     'roles' => array(
37
-      '0' => 'administrator',
37
+        '0' => 'administrator',
38 38
     ),
39
-  );
39
+    );
40 40
 
41
-  // Exported permission: edit own team_forum content
42
-  $permissions['edit own team_forum content'] = array(
41
+    // Exported permission: edit own team_forum content
42
+    $permissions['edit own team_forum content'] = array(
43 43
     'name' => 'edit own team_forum content',
44 44
     'roles' => array(
45
-      '0' => 'verified contributor',
45
+        '0' => 'verified contributor',
46 46
     ),
47
-  );
47
+    );
48 48
 
49
-  // Exported permission: manage boincteam forum
50
-  $permissions['manage boincteam forum'] = array(
49
+    // Exported permission: manage boincteam forum
50
+    $permissions['manage boincteam forum'] = array(
51 51
     'name' => 'manage boincteam forum',
52 52
     'roles' => array(
53
-      '0' => 'administrator',
53
+        '0' => 'administrator',
54 54
     ),
55
-  );
55
+    );
56 56
 
57
-  return $permissions;
57
+    return $permissions;
58 58
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/teams/teams.features.inc 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
   list($module, $api) = func_get_args();
8 8
   if ($module == "page_manager" && $api == "pages_default") {
9 9
     return array("version" => 1);
10
-  }
11
-  elseif ($module == "strongarm" && $api == "strongarm") {
10
+  } elseif ($module == "strongarm" && $api == "strongarm") {
12 11
     return array("version" => 1);
13 12
   }
14 13
 }
Please login to merge, or discard this patch.
Indentation   +63 added lines, -63 removed lines patch added patch discarded remove patch
@@ -4,152 +4,152 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function teams_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "page_manager" && $api == "pages_default") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "page_manager" && $api == "pages_default") {
9 9
     return array("version" => 1);
10
-  }
11
-  elseif ($module == "strongarm" && $api == "strongarm") {
10
+    }
11
+    elseif ($module == "strongarm" && $api == "strongarm") {
12 12
     return array("version" => 1);
13
-  }
13
+    }
14 14
 }
15 15
 
16 16
 /**
17 17
  * Implementation of hook_node_info().
18 18
  */
19 19
 function teams_node_info() {
20
-  $items = array(
20
+    $items = array(
21 21
     'team' => array(
22
-      'name' => t('Team'),
23
-      'module' => 'features',
24
-      'description' => t('A grouping of users, centered on a common interest.'),
25
-      'has_title' => '1',
26
-      'title_label' => t('Name'),
27
-      'has_body' => '1',
28
-      'body_label' => t('Description'),
29
-      'min_word_count' => '0',
30
-      'help' => '',
22
+        'name' => t('Team'),
23
+        'module' => 'features',
24
+        'description' => t('A grouping of users, centered on a common interest.'),
25
+        'has_title' => '1',
26
+        'title_label' => t('Name'),
27
+        'has_body' => '1',
28
+        'body_label' => t('Description'),
29
+        'min_word_count' => '0',
30
+        'help' => '',
31 31
     ),
32
-  );
33
-  return $items;
32
+    );
33
+    return $items;
34 34
 }
35 35
 
36 36
 /**
37 37
  * Implementation of hook_rules_defaults().
38 38
  */
39 39
 function teams_rules_defaults() {
40
-  return array(
40
+    return array(
41 41
     'rules' => array(
42
-      'rules_notify_admins_about_error_creating_a_boinc_team' => array(
42
+        'rules_notify_admins_about_error_creating_a_boinc_team' => array(
43 43
         '#type' => 'rule',
44 44
         '#set' => 'event_boincteam_create_team_error',
45 45
         '#label' => 'Notify admins about error creating a BOINC team',
46 46
         '#active' => 1,
47 47
         '#weight' => '0',
48 48
         '#categories' => array(
49
-          '0' => 'boinc_team',
50
-          'teams' => 'teams',
49
+            '0' => 'boinc_team',
50
+            'teams' => 'teams',
51 51
         ),
52 52
         '#status' => 'default',
53 53
         '#conditions' => array(),
54 54
         '#actions' => array(
55
-          '0' => array(
55
+            '0' => array(
56 56
             '#type' => 'action',
57 57
             '#settings' => array(
58
-              'from' => '',
59
-              'subject' => '[subject_tag:string] Error creating new team',
60
-              'message' => '[user:display-name] attempted to create team [team_name:string], but an error was returned. See function \'boincteam_create_form_submit\'. BOINC function \'make_team\' did not return a valid boinc_team object.',
61
-              '#eval input' => array(
58
+                'from' => '',
59
+                'subject' => '[subject_tag:string] Error creating new team',
60
+                'message' => '[user:display-name] attempted to create team [team_name:string], but an error was returned. See function \'boincteam_create_form_submit\'. BOINC function \'make_team\' did not return a valid boinc_team object.',
61
+                '#eval input' => array(
62 62
                 'token_rules_input_evaluator' => array(
63
-                  'subject' => array(
63
+                    'subject' => array(
64 64
                     '0' => 'subject_tag',
65 65
                     '1' => ':global',
66
-                  ),
67
-                  'message' => array(
66
+                    ),
67
+                    'message' => array(
68 68
                     '0' => 'team_name',
69 69
                     '1' => 'user',
70 70
                     '2' => ':global',
71
-                  ),
72
-                  'from' => array(
71
+                    ),
72
+                    'from' => array(
73 73
                     '0' => ':global',
74
-                  ),
74
+                    ),
75
+                ),
75 76
                 ),
76
-              ),
77 77
             ),
78 78
             '#name' => 'boinccore_rules_action_mail_to_admins',
79 79
             '#info' => array(
80
-              'label' => 'Notify admins via email',
81
-              'module' => 'BOINC core',
82
-              'eval input' => array(
80
+                'label' => 'Notify admins via email',
81
+                'module' => 'BOINC core',
82
+                'eval input' => array(
83 83
                 '0' => 'subject',
84 84
                 '1' => 'message',
85 85
                 '2' => 'from',
86
-              ),
86
+                ),
87 87
             ),
88 88
             '#weight' => 0.0,
89
-          ),
89
+            ),
90 90
         ),
91 91
         '#version' => 6003,
92
-      ),
93
-      'rules_notify_admins_about_error_creating_a_boinc_team_no_pathauto' => array(
92
+        ),
93
+        'rules_notify_admins_about_error_creating_a_boinc_team_no_pathauto' => array(
94 94
         '#type' => 'rule',
95 95
         '#set' => 'event_boincteam_create_team_nopathauto_error',
96 96
         '#label' => 'Notify admins about error creating a BOINC team no pathauto',
97 97
         '#active' => 1,
98 98
         '#weight' => '0',
99 99
         '#categories' => array(
100
-          '0' => 'boinc_team',
101
-          'teams' => 'teams',
100
+            '0' => 'boinc_team',
101
+            'teams' => 'teams',
102 102
         ),
103 103
         '#status' => 'default',
104 104
         '#conditions' => array(),
105 105
         '#actions' => array(
106
-          '0' => array(
106
+            '0' => array(
107 107
             '#type' => 'action',
108 108
             '#settings' => array(
109
-              'from' => '',
110
-              'subject' => '[subject_tag:string] Error creating BOINC team - no pathauo module',
111
-              'message' => '[user:display-name] attempted to create team [team_name:string], but no pathauto module detected. See function \'boincteam_create_form_submit\'.',
112
-              '#eval input' => array(
109
+                'from' => '',
110
+                'subject' => '[subject_tag:string] Error creating BOINC team - no pathauo module',
111
+                'message' => '[user:display-name] attempted to create team [team_name:string], but no pathauto module detected. See function \'boincteam_create_form_submit\'.',
112
+                '#eval input' => array(
113 113
                 'token_rules_input_evaluator' => array(
114
-                  'subject' => array(
114
+                    'subject' => array(
115 115
                     '0' => 'subject_tag',
116 116
                     '1' => ':global',
117
-                  ),
118
-                  'message' => array(
117
+                    ),
118
+                    'message' => array(
119 119
                     '0' => 'team_name',
120 120
                     '1' => 'user',
121 121
                     '2' => ':global',
122
-                  ),
123
-                  'from' => array(
122
+                    ),
123
+                    'from' => array(
124 124
                     '0' => ':global',
125
-                  ),
125
+                    ),
126
+                ),
126 127
                 ),
127
-              ),
128 128
             ),
129 129
             '#name' => 'boinccore_rules_action_mail_to_admins',
130 130
             '#info' => array(
131
-              'label' => 'Notify admins via email',
132
-              'module' => 'BOINC core',
133
-              'eval input' => array(
131
+                'label' => 'Notify admins via email',
132
+                'module' => 'BOINC core',
133
+                'eval input' => array(
134 134
                 '0' => 'subject',
135 135
                 '1' => 'message',
136 136
                 '2' => 'from',
137
-              ),
137
+                ),
138 138
             ),
139 139
             '#weight' => 0.0,
140
-          ),
140
+            ),
141 141
         ),
142 142
         '#version' => 6003,
143
-      ),
143
+        ),
144 144
     ),
145
-  );
145
+    );
146 146
 }
147 147
 
148 148
 /**
149 149
  * Implementation of hook_views_api().
150 150
  */
151 151
 function teams_views_api() {
152
-  return array(
152
+    return array(
153 153
     'api' => '2',
154
-  );
154
+    );
155 155
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/teams/teams.features.user_permission.inc 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,23 +4,23 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function teams_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: create boincteam
10
-  $permissions['create boincteam'] = array(
9
+    // Exported permission: create boincteam
10
+    $permissions['create boincteam'] = array(
11 11
     'name' => 'create boincteam',
12 12
     'roles' => array(
13
-      '0' => 'community member',
13
+        '0' => 'community member',
14 14
     ),
15
-  );
15
+    );
16 16
 
17
-  // Exported permission: join boincteam
18
-  $permissions['join boincteam'] = array(
17
+    // Exported permission: join boincteam
18
+    $permissions['join boincteam'] = array(
19 19
     'name' => 'join boincteam',
20 20
     'roles' => array(
21
-      '0' => 'community member',
21
+        '0' => 'community member',
22 22
     ),
23
-  );
23
+    );
24 24
 
25
-  return $permissions;
25
+    return $permissions;
26 26
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/friends/friends.features.inc 2 patches
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_flag_default_flags().
5 5
  */
6 6
 function friends_flag_default_flags() {
7
-  $flags = array();
8
-  // Exported flag: "Friend".
9
-  $flags['friend'] = array(
7
+    $flags = array();
8
+    // Exported flag: "Friend".
9
+    $flags['friend'] = array(
10 10
     'content_type' => 'user',
11 11
     'title' => 'Friend',
12 12
     'global' => FALSE,
@@ -20,12 +20,12 @@  discard block
 block discarded – undo
20 20
     'unflag_denied_text' => '',
21 21
     'link_type' => 'confirm',
22 22
     'roles' => array(
23
-      'flag' => array(
23
+        'flag' => array(
24 24
         '0' => 2,
25
-      ),
26
-      'unflag' => array(
25
+        ),
26
+        'unflag' => array(
27 27
         '0' => 2,
28
-      ),
28
+        ),
29 29
     ),
30 30
     'weight' => 0,
31 31
     'show_on_profile' => 1,
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
     'unflag_confirmation' => 'Remove [display-name] as a friend?',
35 35
     'module' => 'friends',
36 36
     'locked' => array(
37
-      '0' => 'name',
37
+        '0' => 'name',
38 38
     ),
39 39
     'api_version' => 2,
40
-  );
41
-  return $flags;
40
+    );
41
+    return $flags;
42 42
 
43 43
 }
44 44
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
  * Implementation of hook_views_api().
47 47
  */
48 48
 function friends_views_api() {
49
-  return array(
49
+    return array(
50 50
     'api' => '2',
51
-  );
51
+    );
52 52
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
   $flags['friend'] = array(
10 10
     'content_type' => 'user',
11 11
     'title' => 'Friend',
12
-    'global' => FALSE,
12
+    'global' => false,
13 13
     'types' => array(),
14 14
     'flag_short' => 'Add friend',
15 15
     'flag_long' => 'Add this user to your list of friends.',
Please login to merge, or discard this patch.
drupal/sites/all/features/friends/friends.features.user_permission.inc 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,16 +4,16 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function friends_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: receive friend email notification
10
-  $permissions['receive friend email notification'] = array(
9
+    // Exported permission: receive friend email notification
10
+    $permissions['receive friend email notification'] = array(
11 11
     'name' => 'receive friend email notification',
12 12
     'roles' => array(
13
-      '0' => 'administrator',
14
-      '1' => 'authenticated user',
13
+        '0' => 'administrator',
14
+        '1' => 'authenticated user',
15 15
     ),
16
-  );
16
+    );
17 17
 
18
-  return $permissions;
18
+    return $permissions;
19 19
 }
Please login to merge, or discard this patch.
sites/all/features/work_and_host_stats/work_and_host_stats.features.inc 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -4,17 +4,17 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function work_and_host_stats_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "page_manager" && $api == "pages_default") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "page_manager" && $api == "pages_default") {
9 9
     return array("version" => 1);
10
-  }
10
+    }
11 11
 }
12 12
 
13 13
 /**
14 14
  * Implementation of hook_views_api().
15 15
  */
16 16
 function work_and_host_stats_views_api() {
17
-  return array(
17
+    return array(
18 18
     'api' => '2',
19
-  );
19
+    );
20 20
 }
Please login to merge, or discard this patch.
drupal/sites/all/features/user_profiles/user_profiles.context.inc 2 patches
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -4,30 +4,30 @@
 block discarded – undo
4 4
  * Implementation of hook_context_default_contexts().
5 5
  */
6 6
 function user_profiles_context_default_contexts() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $context = new stdClass;
10
-  $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
11
-  $context->api_version = 3;
12
-  $context->name = 'account--profile--form';
13
-  $context->description = 'Set the account context for the profile form';
14
-  $context->tag = '';
15
-  $context->conditions = array(
9
+    $context = new stdClass;
10
+    $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
11
+    $context->api_version = 3;
12
+    $context->name = 'account--profile--form';
13
+    $context->description = 'Set the account context for the profile form';
14
+    $context->tag = '';
15
+    $context->conditions = array(
16 16
     'path' => array(
17
-      'values' => array(
17
+        'values' => array(
18 18
         'account/info/edit/*' => 'account/info/edit/*',
19
-      ),
19
+        ),
20 20
     ),
21
-  );
22
-  $context->reactions = array(
21
+    );
22
+    $context->reactions = array(
23 23
     'menu' => 'user/me/edit',
24
-  );
25
-  $context->condition_mode = 0;
24
+    );
25
+    $context->condition_mode = 0;
26 26
 
27
-  // Translatables
28
-  // Included for use with string extractors like potx.
29
-  t('Set the account context for the profile form');
30
-  $export['account--profile--form'] = $context;
27
+    // Translatables
28
+    // Included for use with string extractors like potx.
29
+    t('Set the account context for the profile form');
30
+    $export['account--profile--form'] = $context;
31 31
 
32
-  return $export;
32
+    return $export;
33 33
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
   $export = array();
8 8
 
9 9
   $context = new stdClass;
10
-  $context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
10
+  $context->disabled = false; /* Edit this to true to make a default context disabled initially */
11 11
   $context->api_version = 3;
12 12
   $context->name = 'account--profile--form';
13 13
   $context->description = 'Set the account context for the profile form';
Please login to merge, or discard this patch.
drupal/sites/all/features/user_profiles/user_profiles.features.inc 3 patches
Indentation   +315 added lines, -315 removed lines patch added patch discarded remove patch
@@ -4,676 +4,676 @@
 block discarded – undo
4 4
  * Implementation of hook_ctools_plugin_api().
5 5
  */
6 6
 function user_profiles_ctools_plugin_api() {
7
-  list($module, $api) = func_get_args();
8
-  if ($module == "context" && $api == "context") {
7
+    list($module, $api) = func_get_args();
8
+    if ($module == "context" && $api == "context") {
9 9
     return array("version" => 3);
10
-  }
11
-  elseif ($module == "panels_mini" && $api == "panels_default") {
10
+    }
11
+    elseif ($module == "panels_mini" && $api == "panels_default") {
12 12
     return array("version" => 1);
13
-  }
14
-  elseif ($module == "strongarm" && $api == "strongarm") {
13
+    }
14
+    elseif ($module == "strongarm" && $api == "strongarm") {
15 15
     return array("version" => 1);
16
-  }
16
+    }
17 17
 }
18 18
 
19 19
 /**
20 20
  * Implementation of hook_node_info().
21 21
  */
22 22
 function user_profiles_node_info() {
23
-  $items = array(
23
+    $items = array(
24 24
     'profile' => array(
25
-      'name' => t('Profile'),
26
-      'module' => 'features',
27
-      'description' => t('A user profile built as content.'),
28
-      'has_title' => '1',
29
-      'title_label' => t('Title'),
30
-      'has_body' => '1',
31
-      'body_label' => t('Body'),
32
-      'min_word_count' => '0',
33
-      'help' => '',
25
+        'name' => t('Profile'),
26
+        'module' => 'features',
27
+        'description' => t('A user profile built as content.'),
28
+        'has_title' => '1',
29
+        'title_label' => t('Title'),
30
+        'has_body' => '1',
31
+        'body_label' => t('Body'),
32
+        'min_word_count' => '0',
33
+        'help' => '',
34 34
     ),
35
-  );
36
-  return $items;
35
+    );
36
+    return $items;
37 37
 }
38 38
 
39 39
 /**
40 40
  * Implementation of hook_rules_defaults().
41 41
  */
42 42
 function user_profiles_rules_defaults() {
43
-  return array(
43
+    return array(
44 44
     'rules' => array(
45
-      'rules_new_user_profile_has_been_created' => array(
45
+        'rules_new_user_profile_has_been_created' => array(
46 46
         '#type' => 'rule',
47 47
         '#set' => 'event_node_insert',
48 48
         '#label' => 'New user profile has been created',
49 49
         '#active' => 1,
50 50
         '#weight' => '0',
51 51
         '#categories' => array(
52
-          '0' => 'moderation queue',
53
-          'user_profiles' => 'user_profiles',
52
+            '0' => 'moderation queue',
53
+            'user_profiles' => 'user_profiles',
54 54
         ),
55 55
         '#status' => 'default',
56 56
         '#conditions' => array(
57
-          '0' => array(
57
+            '0' => array(
58 58
             '#weight' => 0,
59 59
             '#info' => array(
60
-              'label' => 'Created content is Profile',
61
-              'arguments' => array(
60
+                'label' => 'Created content is Profile',
61
+                'arguments' => array(
62 62
                 'node' => array(
63
-                  'type' => 'node',
64
-                  'label' => 'Content',
63
+                    'type' => 'node',
64
+                    'label' => 'Content',
65
+                ),
65 66
                 ),
66
-              ),
67
-              'module' => 'Node',
67
+                'module' => 'Node',
68 68
             ),
69 69
             '#name' => 'rules_condition_content_is_type',
70 70
             '#settings' => array(
71
-              'type' => array(
71
+                'type' => array(
72 72
                 'profile' => 'profile',
73
-              ),
74
-              '#argument map' => array(
73
+                ),
74
+                '#argument map' => array(
75 75
                 'node' => 'node',
76
-              ),
76
+                ),
77 77
             ),
78 78
             '#type' => 'condition',
79
-          ),
80
-          '1' => array(
79
+            ),
80
+            '1' => array(
81 81
             '#settings' => array(
82
-              'roles' => array(
82
+                'roles' => array(
83 83
                 '0' => 1271379760,
84
-              ),
85
-              'operation' => 'OR',
86
-              '#argument map' => array(
84
+                ),
85
+                'operation' => 'OR',
86
+                '#argument map' => array(
87 87
                 'user' => 'user',
88
-              ),
88
+                ),
89 89
             ),
90 90
             '#type' => 'condition',
91 91
             '#name' => 'rules_condition_user_hasrole',
92 92
             '#info' => array(
93
-              'label' => 'User has role(s)',
94
-              'arguments' => array(
93
+                'label' => 'User has role(s)',
94
+                'arguments' => array(
95 95
                 'user' => array(
96
-                  'type' => 'user',
97
-                  'label' => 'User',
96
+                    'type' => 'user',
97
+                    'label' => 'User',
98 98
                 ),
99
-              ),
100
-              'module' => 'User',
99
+                ),
100
+                'module' => 'User',
101 101
             ),
102 102
             '#weight' => 0,
103 103
             '#negate' => 1,
104
-          ),
105
-          '2' => array(
104
+            ),
105
+            '2' => array(
106 106
             '#type' => 'OR',
107 107
             '0' => array(
108
-              '#info' => array(
108
+                '#info' => array(
109 109
                 'label' => 'Created content\'s field \'field_background\' has value',
110 110
                 'arguments' => array(
111
-                  'node' => array(
111
+                    'node' => array(
112 112
                     'type' => 'node',
113 113
                     'label' => 'Content',
114
-                  ),
114
+                    ),
115 115
                 ),
116 116
                 'eval input' => array(
117
-                  '0' => 'code',
118
-                  '1' => 'value|0|value',
119
-                  '2' => 'value|0|format',
117
+                    '0' => 'code',
118
+                    '1' => 'value|0|value',
119
+                    '2' => 'value|0|format',
120 120
                 ),
121 121
                 'module' => 'CCK',
122
-              ),
123
-              '#negate' => 1,
124
-              '#name' => 'content_rules_field_has_value',
125
-              '#settings' => array(
122
+                ),
123
+                '#negate' => 1,
124
+                '#name' => 'content_rules_field_has_value',
125
+                '#settings' => array(
126 126
                 'field_name' => 'field_background',
127 127
                 '#argument map' => array(
128
-                  'node' => 'node',
128
+                    'node' => 'node',
129 129
                 ),
130 130
                 'value' => array(
131
-                  '0' => array(
131
+                    '0' => array(
132 132
                     'value' => '',
133 133
                     'format' => '4',
134
-                  ),
134
+                    ),
135 135
                 ),
136 136
                 'code' => 'return array(
137 137
   0 => array(\'value\' => NULL, \'format\' => NULL),
138 138
 );',
139 139
                 'vars' => array(),
140 140
                 '#eval input' => array(
141
-                  'token_rules_input_evaluator' => array(
141
+                    'token_rules_input_evaluator' => array(
142 142
                     'code' => array(
143
-                      '0' => ':global',
143
+                        '0' => ':global',
144 144
                     ),
145 145
                     'value|0|value' => array(
146
-                      '0' => ':global',
146
+                        '0' => ':global',
147 147
                     ),
148 148
                     'value|0|format' => array(
149
-                      '0' => ':global',
149
+                        '0' => ':global',
150
+                    ),
150 151
                     ),
151
-                  ),
152 152
                 ),
153
-              ),
154
-              '#weight' => 0,
155
-              '#type' => 'condition',
153
+                ),
154
+                '#weight' => 0,
155
+                '#type' => 'condition',
156 156
             ),
157 157
             '#weight' => 0,
158 158
             '1' => array(
159
-              '#negate' => 1,
160
-              '#weight' => 0,
161
-              '#info' => array(
159
+                '#negate' => 1,
160
+                '#weight' => 0,
161
+                '#info' => array(
162 162
                 'label' => 'Created content\'s field \'field_opinions\' has value',
163 163
                 'arguments' => array(
164
-                  'node' => array(
164
+                    'node' => array(
165 165
                     'type' => 'node',
166 166
                     'label' => 'Content',
167
-                  ),
167
+                    ),
168 168
                 ),
169 169
                 'eval input' => array(
170
-                  '0' => 'code',
171
-                  '1' => 'value|0|value',
172
-                  '2' => 'value|0|format',
170
+                    '0' => 'code',
171
+                    '1' => 'value|0|value',
172
+                    '2' => 'value|0|format',
173 173
                 ),
174 174
                 'module' => 'CCK',
175
-              ),
176
-              '#name' => 'content_rules_field_has_value',
177
-              '#settings' => array(
175
+                ),
176
+                '#name' => 'content_rules_field_has_value',
177
+                '#settings' => array(
178 178
                 'field_name' => 'field_opinions',
179 179
                 '#argument map' => array(
180
-                  'node' => 'node',
180
+                    'node' => 'node',
181 181
                 ),
182 182
                 'value' => array(
183
-                  '0' => array(
183
+                    '0' => array(
184 184
                     'value' => '',
185 185
                     'format' => '4',
186
-                  ),
186
+                    ),
187 187
                 ),
188 188
                 'code' => 'return array(
189 189
   0 => array(\'value\' => NULL, \'format\' => NULL),
190 190
 );',
191 191
                 'vars' => array(),
192 192
                 '#eval input' => array(
193
-                  'token_rules_input_evaluator' => array(
193
+                    'token_rules_input_evaluator' => array(
194 194
                     'code' => array(
195
-                      '0' => ':global',
195
+                        '0' => ':global',
196 196
                     ),
197 197
                     'value|0|value' => array(
198
-                      '0' => ':global',
198
+                        '0' => ':global',
199 199
                     ),
200 200
                     'value|0|format' => array(
201
-                      '0' => ':global',
201
+                        '0' => ':global',
202 202
                     ),
203
-                  ),
203
+                    ),
204
+                ),
204 205
                 ),
205
-              ),
206
-              '#type' => 'condition',
206
+                '#type' => 'condition',
207 207
             ),
208 208
             '2' => array(
209
-              '#type' => 'condition',
210
-              '#settings' => array(
209
+                '#type' => 'condition',
210
+                '#settings' => array(
211 211
                 'field_name' => 'field_url',
212 212
                 '#argument map' => array(
213
-                  'node' => 'node',
213
+                    'node' => 'node',
214 214
                 ),
215 215
                 'value' => array(
216
-                  '0' => array(
216
+                    '0' => array(
217 217
                     'value' => '',
218
-                  ),
218
+                    ),
219 219
                 ),
220 220
                 'code' => 'return array(
221 221
   0 => array(\'value\' => NULL),
222 222
 );',
223 223
                 'vars' => array(),
224 224
                 '#eval input' => array(
225
-                  'token_rules_input_evaluator' => array(
225
+                    'token_rules_input_evaluator' => array(
226 226
                     'code' => array(
227
-                      '0' => ':global',
227
+                        '0' => ':global',
228 228
                     ),
229 229
                     'value|0|value' => array(
230
-                      '0' => ':global',
230
+                        '0' => ':global',
231
+                    ),
231 232
                     ),
232
-                  ),
233 233
                 ),
234
-              ),
235
-              '#name' => 'content_rules_field_has_value',
236
-              '#negate' => 1,
237
-              '#info' => array(
234
+                ),
235
+                '#name' => 'content_rules_field_has_value',
236
+                '#negate' => 1,
237
+                '#info' => array(
238 238
                 'label' => 'Created content\'s field \'field_url\' has value',
239 239
                 'arguments' => array(
240
-                  'node' => array(
240
+                    'node' => array(
241 241
                     'type' => 'node',
242 242
                     'label' => 'Content',
243
-                  ),
243
+                    ),
244 244
                 ),
245 245
                 'eval input' => array(
246
-                  '0' => 'code',
247
-                  '1' => 'value|0|value',
246
+                    '0' => 'code',
247
+                    '1' => 'value|0|value',
248 248
                 ),
249 249
                 'module' => 'CCK',
250
-              ),
251
-              '#weight' => 0,
250
+                ),
251
+                '#weight' => 0,
252 252
             ),
253 253
             '5' => array(
254
-              '#type' => 'condition',
255
-              '#settings' => array(
254
+                '#type' => 'condition',
255
+                '#settings' => array(
256 256
                 'boolean' => '<?php echo ($node->field_image[0][\'fid\'] ? 1 : 0); ?>',
257 257
                 '#eval input' => array(
258
-                  'token_rules_input_evaluator' => array(
258
+                    'token_rules_input_evaluator' => array(
259 259
                     'boolean' => array(
260
-                      '0' => ':global',
260
+                        '0' => ':global',
261
+                    ),
261 262
                     ),
262
-                  ),
263
-                  'rules_input_evaluator_php' => array(
263
+                    'rules_input_evaluator_php' => array(
264 264
                     'boolean' => array(
265
-                      '0' => 'node',
265
+                        '0' => 'node',
266
+                    ),
266 267
                     ),
267
-                  ),
268 268
                 ),
269
-              ),
270
-              '#name' => 'rules_condition_check_boolean',
271
-              '#info' => array(
269
+                ),
270
+                '#name' => 'rules_condition_check_boolean',
271
+                '#info' => array(
272 272
                 'label' => 'New profile has avatar',
273 273
                 'label callback' => FALSE,
274 274
                 'arguments' => array(
275
-                  'boolean' => array(
275
+                    'boolean' => array(
276 276
                     'type' => 'boolean',
277 277
                     'label' => 'Truth value',
278
-                  ),
278
+                    ),
279 279
                 ),
280 280
                 'module' => 'Rules',
281
-              ),
282
-              '#weight' => 0,
281
+                ),
282
+                '#weight' => 0,
283 283
             ),
284 284
             '6' => array(
285
-              '#weight' => 0,
286
-              '#info' => array(
285
+                '#weight' => 0,
286
+                '#info' => array(
287 287
                 'label' => 'New profile has profile image',
288 288
                 'label callback' => FALSE,
289 289
                 'arguments' => array(
290
-                  'boolean' => array(
290
+                    'boolean' => array(
291 291
                     'type' => 'boolean',
292 292
                     'label' => 'Truth value',
293
-                  ),
293
+                    ),
294 294
                 ),
295 295
                 'module' => 'Rules',
296
-              ),
297
-              '#name' => 'rules_condition_check_boolean',
298
-              '#settings' => array(
296
+                ),
297
+                '#name' => 'rules_condition_check_boolean',
298
+                '#settings' => array(
299 299
                 'boolean' => '<?php echo ($node->field_profile_image[0][\'fid\'] ? 1 : 0); ?>',
300 300
                 '#eval input' => array(
301
-                  'token_rules_input_evaluator' => array(
301
+                    'token_rules_input_evaluator' => array(
302 302
                     'boolean' => array(
303
-                      '0' => ':global',
303
+                        '0' => ':global',
304
+                    ),
304 305
                     ),
305
-                  ),
306
-                  'rules_input_evaluator_php' => array(
306
+                    'rules_input_evaluator_php' => array(
307 307
                     'boolean' => array(
308
-                      '0' => 'node',
308
+                        '0' => 'node',
309
+                    ),
309 310
                     ),
310
-                  ),
311 311
                 ),
312
-              ),
313
-              '#type' => 'condition',
312
+                ),
313
+                '#type' => 'condition',
314
+            ),
314 315
             ),
315
-          ),
316 316
         ),
317 317
         '#actions' => array(
318
-          '1' => array(
318
+            '1' => array(
319 319
             '#weight' => 0,
320 320
             '#info' => array(
321
-              'label' => 'Mark content for moderation',
322
-              'arguments' => array(
321
+                'label' => 'Mark content for moderation',
322
+                'arguments' => array(
323 323
                 'node' => array(
324
-                  'type' => 'node',
325
-                  'label' => 'Content',
324
+                    'type' => 'node',
325
+                    'label' => 'Content',
326
+                ),
326 327
                 ),
327
-              ),
328
-              'module' => 'BOINC core',
328
+                'module' => 'BOINC core',
329 329
             ),
330 330
             '#name' => 'boinccore_rules_action_mark_content_for_moderation',
331 331
             '#settings' => array(
332
-              '#argument map' => array(
332
+                '#argument map' => array(
333 333
                 'node' => 'node',
334
-              ),
334
+                ),
335 335
             ),
336 336
             '#type' => 'action',
337
-          ),
337
+            ),
338 338
         ),
339 339
         '#version' => 6003,
340
-      ),
341
-      'rules_user_profile_has_been_modified' => array(
340
+        ),
341
+        'rules_user_profile_has_been_modified' => array(
342 342
         '#type' => 'rule',
343 343
         '#set' => 'event_node_update',
344 344
         '#label' => 'User profile has been modified',
345 345
         '#active' => 1,
346 346
         '#weight' => '0',
347 347
         '#categories' => array(
348
-          '0' => 'moderation queue',
349
-          'user_profiles' => 'user_profiles',
348
+            '0' => 'moderation queue',
349
+            'user_profiles' => 'user_profiles',
350 350
         ),
351 351
         '#status' => 'default',
352 352
         '#conditions' => array(
353
-          '0' => array(
353
+            '0' => array(
354 354
             '#type' => 'condition',
355 355
             '#settings' => array(
356
-              'type' => array(
356
+                'type' => array(
357 357
                 'profile' => 'profile',
358
-              ),
359
-              '#argument map' => array(
358
+                ),
359
+                '#argument map' => array(
360 360
                 'node' => 'node',
361
-              ),
361
+                ),
362 362
             ),
363 363
             '#name' => 'rules_condition_content_is_type',
364 364
             '#info' => array(
365
-              'label' => 'Created content is Profile',
366
-              'arguments' => array(
365
+                'label' => 'Created content is Profile',
366
+                'arguments' => array(
367 367
                 'node' => array(
368
-                  'type' => 'node',
369
-                  'label' => 'Content',
368
+                    'type' => 'node',
369
+                    'label' => 'Content',
370 370
                 ),
371
-              ),
372
-              'module' => 'Node',
371
+                ),
372
+                'module' => 'Node',
373 373
             ),
374 374
             '#weight' => 0,
375
-          ),
376
-          '1' => array(
375
+            ),
376
+            '1' => array(
377 377
             '#negate' => 1,
378 378
             '#info' => array(
379
-              'label' => 'User has role(s)',
380
-              'arguments' => array(
379
+                'label' => 'User has role(s)',
380
+                'arguments' => array(
381 381
                 'user' => array(
382
-                  'type' => 'user',
383
-                  'label' => 'User',
382
+                    'type' => 'user',
383
+                    'label' => 'User',
384
+                ),
384 385
                 ),
385
-              ),
386
-              'module' => 'User',
386
+                'module' => 'User',
387 387
             ),
388 388
             '#name' => 'rules_condition_user_hasrole',
389 389
             '#settings' => array(
390
-              'roles' => array(
390
+                'roles' => array(
391 391
                 '0' => 3519698132,
392 392
                 '1' => 1271379760,
393
-              ),
394
-              'operation' => 'OR',
395
-              '#argument map' => array(
393
+                ),
394
+                'operation' => 'OR',
395
+                '#argument map' => array(
396 396
                 'user' => 'user',
397
-              ),
397
+                ),
398 398
             ),
399 399
             '#type' => 'condition',
400 400
             '#weight' => 0,
401
-          ),
402
-          '2' => array(
401
+            ),
402
+            '2' => array(
403 403
             '#weight' => 0,
404 404
             '#info' => array(
405
-              'label' => 'Compare two users',
406
-              'arguments' => array(
405
+                'label' => 'Compare two users',
406
+                'arguments' => array(
407 407
                 'user1' => array(
408
-                  'type' => 'user',
409
-                  'label' => 'User account 1',
408
+                    'type' => 'user',
409
+                    'label' => 'User account 1',
410 410
                 ),
411 411
                 'user2' => array(
412
-                  'type' => 'user',
413
-                  'label' => 'User account 2',
412
+                    'type' => 'user',
413
+                    'label' => 'User account 2',
414 414
                 ),
415
-              ),
416
-              'module' => 'User',
415
+                ),
416
+                'module' => 'User',
417 417
             ),
418 418
             '#name' => 'rules_condition_user_comparison',
419 419
             '#settings' => array(
420
-              '#argument map' => array(
420
+                '#argument map' => array(
421 421
                 'user1' => 'user',
422 422
                 'user2' => 'author',
423
-              ),
423
+                ),
424 424
             ),
425 425
             '#type' => 'condition',
426
-          ),
427
-          '3' => array(
426
+            ),
427
+            '3' => array(
428 428
             '#type' => 'OR',
429 429
             '0' => array(
430
-              '#info' => array(
430
+                '#info' => array(
431 431
                 'label' => 'Updated content\'s field \'field_background\' has been changed',
432 432
                 'arguments' => array(
433
-                  'node' => array(
433
+                    'node' => array(
434 434
                     'type' => 'node',
435 435
                     'label' => 'Content containing changes',
436
-                  ),
437
-                  'node_unchanged' => array(
436
+                    ),
437
+                    'node_unchanged' => array(
438 438
                     'type' => 'node',
439 439
                     'label' => 'Content not containing changes',
440
-                  ),
440
+                    ),
441 441
                 ),
442 442
                 'module' => 'CCK',
443
-              ),
444
-              '#name' => 'content_rules_field_changed',
445
-              '#settings' => array(
443
+                ),
444
+                '#name' => 'content_rules_field_changed',
445
+                '#settings' => array(
446 446
                 'field_name' => 'field_background',
447 447
                 '#argument map' => array(
448
-                  'node' => 'node',
449
-                  'node_unchanged' => 'node_unchanged',
448
+                    'node' => 'node',
449
+                    'node_unchanged' => 'node_unchanged',
450 450
                 ),
451
-              ),
452
-              '#type' => 'condition',
453
-              '#weight' => 0,
451
+                ),
452
+                '#type' => 'condition',
453
+                '#weight' => 0,
454 454
             ),
455 455
             '#weight' => 0,
456 456
             '1' => array(
457
-              '#weight' => 0,
458
-              '#info' => array(
457
+                '#weight' => 0,
458
+                '#info' => array(
459 459
                 'label' => 'Updated content\'s field \'field_opinions\' has been changed',
460 460
                 'arguments' => array(
461
-                  'node' => array(
461
+                    'node' => array(
462 462
                     'type' => 'node',
463 463
                     'label' => 'Content containing changes',
464
-                  ),
465
-                  'node_unchanged' => array(
464
+                    ),
465
+                    'node_unchanged' => array(
466 466
                     'type' => 'node',
467 467
                     'label' => 'Content not containing changes',
468
-                  ),
468
+                    ),
469 469
                 ),
470 470
                 'module' => 'CCK',
471
-              ),
472
-              '#name' => 'content_rules_field_changed',
473
-              '#settings' => array(
471
+                ),
472
+                '#name' => 'content_rules_field_changed',
473
+                '#settings' => array(
474 474
                 'field_name' => 'field_opinions',
475 475
                 '#argument map' => array(
476
-                  'node' => 'node',
477
-                  'node_unchanged' => 'node_unchanged',
476
+                    'node' => 'node',
477
+                    'node_unchanged' => 'node_unchanged',
478
+                ),
478 479
                 ),
479
-              ),
480
-              '#type' => 'condition',
480
+                '#type' => 'condition',
481 481
             ),
482 482
             '2' => array(
483
-              '#type' => 'condition',
484
-              '#settings' => array(
483
+                '#type' => 'condition',
484
+                '#settings' => array(
485 485
                 'field_name' => 'field_url',
486 486
                 '#argument map' => array(
487
-                  'node' => 'node',
488
-                  'node_unchanged' => 'node_unchanged',
487
+                    'node' => 'node',
488
+                    'node_unchanged' => 'node_unchanged',
489 489
                 ),
490
-              ),
491
-              '#name' => 'content_rules_field_changed',
492
-              '#info' => array(
490
+                ),
491
+                '#name' => 'content_rules_field_changed',
492
+                '#info' => array(
493 493
                 'label' => 'Updated content\'s field \'field_url\' has been changed',
494 494
                 'arguments' => array(
495
-                  'node' => array(
495
+                    'node' => array(
496 496
                     'type' => 'node',
497 497
                     'label' => 'Content containing changes',
498
-                  ),
499
-                  'node_unchanged' => array(
498
+                    ),
499
+                    'node_unchanged' => array(
500 500
                     'type' => 'node',
501 501
                     'label' => 'Content not containing changes',
502
-                  ),
502
+                    ),
503 503
                 ),
504 504
                 'module' => 'CCK',
505
-              ),
506
-              '#weight' => 0,
505
+                ),
506
+                '#weight' => 0,
507 507
             ),
508 508
             '4' => array(
509
-              '#type' => 'AND',
510
-              '#weight' => 0,
511
-              '1' => array(
509
+                '#type' => 'AND',
510
+                '#weight' => 0,
511
+                '1' => array(
512 512
                 '#weight' => 0,
513 513
                 '#info' => array(
514
-                  'label' => 'Modified profile has profile image',
515
-                  'label callback' => FALSE,
516
-                  'arguments' => array(
514
+                    'label' => 'Modified profile has profile image',
515
+                    'label callback' => FALSE,
516
+                    'arguments' => array(
517 517
                     'boolean' => array(
518
-                      'type' => 'boolean',
519
-                      'label' => 'Truth value',
518
+                        'type' => 'boolean',
519
+                        'label' => 'Truth value',
520
+                    ),
520 521
                     ),
521
-                  ),
522
-                  'module' => 'Rules',
522
+                    'module' => 'Rules',
523 523
                 ),
524 524
                 '#name' => 'rules_condition_check_boolean',
525 525
                 '#settings' => array(
526
-                  'boolean' => '<?php echo ($node->field_profile_image[0][\'fid\'] ? 1 : 0); ?>',
527
-                  '#eval input' => array(
526
+                    'boolean' => '<?php echo ($node->field_profile_image[0][\'fid\'] ? 1 : 0); ?>',
527
+                    '#eval input' => array(
528 528
                     'token_rules_input_evaluator' => array(
529
-                      'boolean' => array(
529
+                        'boolean' => array(
530 530
                         '0' => ':global',
531
-                      ),
531
+                        ),
532 532
                     ),
533 533
                     'rules_input_evaluator_php' => array(
534
-                      'boolean' => array(
534
+                        'boolean' => array(
535 535
                         '0' => 'node',
536
-                      ),
536
+                        ),
537
+                    ),
537 538
                     ),
538
-                  ),
539 539
                 ),
540 540
                 '#type' => 'condition',
541
-              ),
542
-              '0' => array(
541
+                ),
542
+                '0' => array(
543 543
                 '#info' => array(
544
-                  'label' => 'Modified profile image is different from previous profile image',
545
-                  'label callback' => FALSE,
546
-                  'arguments' => array(
544
+                    'label' => 'Modified profile image is different from previous profile image',
545
+                    'label callback' => FALSE,
546
+                    'arguments' => array(
547 547
                     'boolean' => array(
548
-                      'type' => 'boolean',
549
-                      'label' => 'Truth value',
548
+                        'type' => 'boolean',
549
+                        'label' => 'Truth value',
550 550
                     ),
551
-                  ),
552
-                  'module' => 'Rules',
551
+                    ),
552
+                    'module' => 'Rules',
553 553
                 ),
554 554
                 '#name' => 'rules_condition_check_boolean',
555 555
                 '#settings' => array(
556
-                  'boolean' => '<?php echo ($node->field_profile_image[0][\'fid\'] != $node_unchanged->field_profile_image[0][\'fid\']); ?>',
557
-                  '#eval input' => array(
556
+                    'boolean' => '<?php echo ($node->field_profile_image[0][\'fid\'] != $node_unchanged->field_profile_image[0][\'fid\']); ?>',
557
+                    '#eval input' => array(
558 558
                     'token_rules_input_evaluator' => array(
559
-                      'boolean' => array(
559
+                        'boolean' => array(
560 560
                         '0' => ':global',
561
-                      ),
561
+                        ),
562 562
                     ),
563 563
                     'rules_input_evaluator_php' => array(
564
-                      'boolean' => array(
564
+                        'boolean' => array(
565 565
                         '0' => 'node',
566 566
                         '1' => 'node_unchanged',
567
-                      ),
567
+                        ),
568
+                    ),
568 569
                     ),
569
-                  ),
570 570
                 ),
571 571
                 '#type' => 'condition',
572 572
                 '#weight' => 1,
573
-              ),
573
+                ),
574 574
             ),
575 575
             '3' => array(
576
-              '#weight' => 1,
577
-              '#type' => 'AND',
578
-              '1' => array(
576
+                '#weight' => 1,
577
+                '#type' => 'AND',
578
+                '1' => array(
579 579
                 '#type' => 'condition',
580 580
                 '#settings' => array(
581
-                  'boolean' => '<?php echo ($node->field_image[0][\'fid\'] ? 1 : 0); ?>',
582
-                  '#eval input' => array(
581
+                    'boolean' => '<?php echo ($node->field_image[0][\'fid\'] ? 1 : 0); ?>',
582
+                    '#eval input' => array(
583 583
                     'token_rules_input_evaluator' => array(
584
-                      'boolean' => array(
584
+                        'boolean' => array(
585 585
                         '0' => ':global',
586
-                      ),
586
+                        ),
587 587
                     ),
588 588
                     'rules_input_evaluator_php' => array(
589
-                      'boolean' => array(
589
+                        'boolean' => array(
590 590
                         '0' => 'node',
591
-                      ),
591
+                        ),
592
+                    ),
592 593
                     ),
593
-                  ),
594 594
                 ),
595 595
                 '#name' => 'rules_condition_check_boolean',
596 596
                 '#info' => array(
597
-                  'label' => 'Modified profile has avatar',
598
-                  'label callback' => FALSE,
599
-                  'arguments' => array(
597
+                    'label' => 'Modified profile has avatar',
598
+                    'label callback' => FALSE,
599
+                    'arguments' => array(
600 600
                     'boolean' => array(
601
-                      'type' => 'boolean',
602
-                      'label' => 'Truth value',
601
+                        'type' => 'boolean',
602
+                        'label' => 'Truth value',
603 603
                     ),
604
-                  ),
605
-                  'module' => 'Rules',
604
+                    ),
605
+                    'module' => 'Rules',
606 606
                 ),
607 607
                 '#weight' => 0,
608
-              ),
609
-              '0' => array(
608
+                ),
609
+                '0' => array(
610 610
                 '#weight' => 1,
611 611
                 '#info' => array(
612
-                  'label' => 'Modified profile avatar is different from previous avatar',
613
-                  'label callback' => FALSE,
614
-                  'arguments' => array(
612
+                    'label' => 'Modified profile avatar is different from previous avatar',
613
+                    'label callback' => FALSE,
614
+                    'arguments' => array(
615 615
                     'boolean' => array(
616
-                      'type' => 'boolean',
617
-                      'label' => 'Truth value',
616
+                        'type' => 'boolean',
617
+                        'label' => 'Truth value',
618
+                    ),
618 619
                     ),
619
-                  ),
620
-                  'module' => 'Rules',
620
+                    'module' => 'Rules',
621 621
                 ),
622 622
                 '#name' => 'rules_condition_check_boolean',
623 623
                 '#settings' => array(
624
-                  'boolean' => '<?php echo ($node->field_image[0][\'fid\'] != $node_unchanged->field_image[0][\'fid\']); ?>',
625
-                  '#eval input' => array(
624
+                    'boolean' => '<?php echo ($node->field_image[0][\'fid\'] != $node_unchanged->field_image[0][\'fid\']); ?>',
625
+                    '#eval input' => array(
626 626
                     'token_rules_input_evaluator' => array(
627
-                      'boolean' => array(
627
+                        'boolean' => array(
628 628
                         '0' => ':global',
629
-                      ),
629
+                        ),
630 630
                     ),
631 631
                     'rules_input_evaluator_php' => array(
632
-                      'boolean' => array(
632
+                        'boolean' => array(
633 633
                         '0' => 'node',
634 634
                         '1' => 'node_unchanged',
635
-                      ),
635
+                        ),
636
+                    ),
636 637
                     ),
637
-                  ),
638 638
                 ),
639 639
                 '#type' => 'condition',
640
-              ),
640
+                ),
641
+            ),
641 642
             ),
642
-          ),
643 643
         ),
644 644
         '#actions' => array(
645
-          '1' => array(
645
+            '1' => array(
646 646
             '#weight' => 0,
647 647
             '#info' => array(
648
-              'label' => 'Mark content for moderation',
649
-              'arguments' => array(
648
+                'label' => 'Mark content for moderation',
649
+                'arguments' => array(
650 650
                 'node' => array(
651
-                  'type' => 'node',
652
-                  'label' => 'Content',
651
+                    'type' => 'node',
652
+                    'label' => 'Content',
653 653
                 ),
654
-              ),
655
-              'module' => 'BOINC core',
654
+                ),
655
+                'module' => 'BOINC core',
656 656
             ),
657 657
             '#name' => 'boinccore_rules_action_mark_content_for_moderation',
658 658
             '#settings' => array(
659
-              '#argument map' => array(
659
+                '#argument map' => array(
660 660
                 'node' => 'node',
661
-              ),
661
+                ),
662 662
             ),
663 663
             '#type' => 'action',
664
-          ),
664
+            ),
665 665
         ),
666 666
         '#version' => 6003,
667
-      ),
667
+        ),
668 668
     ),
669
-  );
669
+    );
670 670
 }
671 671
 
672 672
 /**
673 673
  * Implementation of hook_views_api().
674 674
  */
675 675
 function user_profiles_views_api() {
676
-  return array(
676
+    return array(
677 677
     'api' => '2',
678
-  );
678
+    );
679 679
 }
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,11 +7,9 @@
 block discarded – undo
7 7
   list($module, $api) = func_get_args();
8 8
   if ($module == "context" && $api == "context") {
9 9
     return array("version" => 3);
10
-  }
11
-  elseif ($module == "panels_mini" && $api == "panels_default") {
10
+  } elseif ($module == "panels_mini" && $api == "panels_default") {
12 11
     return array("version" => 1);
13
-  }
14
-  elseif ($module == "strongarm" && $api == "strongarm") {
12
+  } elseif ($module == "strongarm" && $api == "strongarm") {
15 13
     return array("version" => 1);
16 14
   }
17 15
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
               '#name' => 'rules_condition_check_boolean',
271 271
               '#info' => array(
272 272
                 'label' => 'New profile has avatar',
273
-                'label callback' => FALSE,
273
+                'label callback' => false,
274 274
                 'arguments' => array(
275 275
                   'boolean' => array(
276 276
                     'type' => 'boolean',
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
               '#weight' => 0,
286 286
               '#info' => array(
287 287
                 'label' => 'New profile has profile image',
288
-                'label callback' => FALSE,
288
+                'label callback' => false,
289 289
                 'arguments' => array(
290 290
                   'boolean' => array(
291 291
                     'type' => 'boolean',
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
                 '#weight' => 0,
513 513
                 '#info' => array(
514 514
                   'label' => 'Modified profile has profile image',
515
-                  'label callback' => FALSE,
515
+                  'label callback' => false,
516 516
                   'arguments' => array(
517 517
                     'boolean' => array(
518 518
                       'type' => 'boolean',
@@ -542,7 +542,7 @@  discard block
 block discarded – undo
542 542
               '0' => array(
543 543
                 '#info' => array(
544 544
                   'label' => 'Modified profile image is different from previous profile image',
545
-                  'label callback' => FALSE,
545
+                  'label callback' => false,
546 546
                   'arguments' => array(
547 547
                     'boolean' => array(
548 548
                       'type' => 'boolean',
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
                 '#name' => 'rules_condition_check_boolean',
596 596
                 '#info' => array(
597 597
                   'label' => 'Modified profile has avatar',
598
-                  'label callback' => FALSE,
598
+                  'label callback' => false,
599 599
                   'arguments' => array(
600 600
                     'boolean' => array(
601 601
                       'type' => 'boolean',
@@ -610,7 +610,7 @@  discard block
 block discarded – undo
610 610
                 '#weight' => 1,
611 611
                 '#info' => array(
612 612
                   'label' => 'Modified profile avatar is different from previous avatar',
613
-                  'label callback' => FALSE,
613
+                  'label callback' => false,
614 614
                   'arguments' => array(
615 615
                     'boolean' => array(
616 616
                       'type' => 'boolean',
Please login to merge, or discard this patch.
sites/all/features/user_profiles/user_profiles.features.user_permission.inc 1 patch
Indentation   +44 added lines, -44 removed lines patch added patch discarded remove patch
@@ -4,85 +4,85 @@
 block discarded – undo
4 4
  * Implementation of hook_user_default_permissions().
5 5
  */
6 6
 function user_profiles_user_default_permissions() {
7
-  $permissions = array();
7
+    $permissions = array();
8 8
 
9
-  // Exported permission: access user profiles
10
-  $permissions['access user profiles'] = array(
9
+    // Exported permission: access user profiles
10
+    $permissions['access user profiles'] = array(
11 11
     'name' => 'access user profiles',
12 12
     'roles' => array(
13
-      '0' => 'administrator',
14
-      '1' => 'authenticated user',
13
+        '0' => 'administrator',
14
+        '1' => 'authenticated user',
15 15
     ),
16
-  );
16
+    );
17 17
 
18
-  // Exported permission: administer gravatar
19
-  $permissions['administer gravatar'] = array(
18
+    // Exported permission: administer gravatar
19
+    $permissions['administer gravatar'] = array(
20 20
     'name' => 'administer gravatar',
21 21
     'roles' => array(
22
-      '0' => 'administrator',
22
+        '0' => 'administrator',
23 23
     ),
24
-  );
24
+    );
25 25
 
26
-  // Exported permission: create profile content
27
-  $permissions['create profile content'] = array(
26
+    // Exported permission: create profile content
27
+    $permissions['create profile content'] = array(
28 28
     'name' => 'create profile content',
29 29
     'roles' => array(
30
-      '0' => 'administrator',
31
-      '1' => 'verified contributor',
30
+        '0' => 'administrator',
31
+        '1' => 'verified contributor',
32 32
     ),
33
-  );
33
+    );
34 34
 
35
-  // Exported permission: delete any profile content
36
-  $permissions['delete any profile content'] = array(
35
+    // Exported permission: delete any profile content
36
+    $permissions['delete any profile content'] = array(
37 37
     'name' => 'delete any profile content',
38 38
     'roles' => array(
39
-      '0' => 'administrator',
40
-      '1' => 'moderator',
39
+        '0' => 'administrator',
40
+        '1' => 'moderator',
41 41
     ),
42
-  );
42
+    );
43 43
 
44
-  // Exported permission: delete own profile content
45
-  $permissions['delete own profile content'] = array(
44
+    // Exported permission: delete own profile content
45
+    $permissions['delete own profile content'] = array(
46 46
     'name' => 'delete own profile content',
47 47
     'roles' => array(
48
-      '0' => 'administrator',
49
-      '1' => 'community member',
48
+        '0' => 'administrator',
49
+        '1' => 'community member',
50 50
     ),
51
-  );
51
+    );
52 52
 
53
-  // Exported permission: disable own gravatar
54
-  $permissions['disable own gravatar'] = array(
53
+    // Exported permission: disable own gravatar
54
+    $permissions['disable own gravatar'] = array(
55 55
     'name' => 'disable own gravatar',
56 56
     'roles' => array(
57
-      '0' => 'community member',
57
+        '0' => 'community member',
58 58
     ),
59
-  );
59
+    );
60 60
 
61
-  // Exported permission: edit any profile content
62
-  $permissions['edit any profile content'] = array(
61
+    // Exported permission: edit any profile content
62
+    $permissions['edit any profile content'] = array(
63 63
     'name' => 'edit any profile content',
64 64
     'roles' => array(
65
-      '0' => 'administrator',
66
-      '1' => 'moderator',
65
+        '0' => 'administrator',
66
+        '1' => 'moderator',
67 67
     ),
68
-  );
68
+    );
69 69
 
70
-  // Exported permission: edit own profile content
71
-  $permissions['edit own profile content'] = array(
70
+    // Exported permission: edit own profile content
71
+    $permissions['edit own profile content'] = array(
72 72
     'name' => 'edit own profile content',
73 73
     'roles' => array(
74
-      '0' => 'administrator',
75
-      '1' => 'verified contributor',
74
+        '0' => 'administrator',
75
+        '1' => 'verified contributor',
76 76
     ),
77
-  );
77
+    );
78 78
 
79
-  // Exported permission: use gravatar
80
-  $permissions['use gravatar'] = array(
79
+    // Exported permission: use gravatar
80
+    $permissions['use gravatar'] = array(
81 81
     'name' => 'use gravatar',
82 82
     'roles' => array(
83
-      '0' => 'community member',
83
+        '0' => 'community member',
84 84
     ),
85
-  );
85
+    );
86 86
 
87
-  return $permissions;
87
+    return $permissions;
88 88
 }
Please login to merge, or discard this patch.