Passed
Push — dpa_warnings3 ( 480a88...07faf2 )
by David
08:55
created
html/user/workunit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     // (so that bad guys can't tell if they have an unreplicated job)
66 66
 
67 67
     $config = get_config();
68
-    if ($app->target_nresults>0 && !$wu->canonical_resultid && !$wu->error_mask && !parse_bool($config, "dont_suppress_pending")) {
68
+    if ($app->target_nresults > 0 && !$wu->canonical_resultid && !$wu->error_mask && !parse_bool($config, "dont_suppress_pending")) {
69 69
         row2(tra("Tasks in progress"), tra("suppressed pending completion"));
70 70
         end_table();
71 71
     } else {
Please login to merge, or discard this patch.
sites/all/features/boinc_standard/boinc_standard.features.content.inc 2 patches
Indentation   +33 added lines, -33 removed lines patch added patch discarded remove patch
@@ -4,42 +4,42 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_content_default_fields().
5 5
  */
6 6
 function boinc_standard_content_default_fields() {
7
-  $fields = array();
7
+    $fields = array();
8 8
 
9
-  // Exported field: field_boinctranslate_transifex
10
-  $fields['page-field_boinctranslate_transifex'] = array(
9
+    // Exported field: field_boinctranslate_transifex
10
+    $fields['page-field_boinctranslate_transifex'] = array(
11 11
     'field_name' => 'field_boinctranslate_transifex',
12 12
     'type_name' => 'page',
13 13
     'display_settings' => array(
14
-      'weight' => '101',
15
-      'parent' => '',
16
-      'label' => array(
14
+        'weight' => '101',
15
+        'parent' => '',
16
+        'label' => array(
17 17
         'format' => 'hidden',
18
-      ),
19
-      'teaser' => array(
18
+        ),
19
+        'teaser' => array(
20 20
         'format' => 'default',
21 21
         'exclude' => 0,
22
-      ),
23
-      'full' => array(
22
+        ),
23
+        'full' => array(
24 24
         'format' => 'hidden',
25 25
         'exclude' => 0,
26
-      ),
27
-      'token' => array(
26
+        ),
27
+        'token' => array(
28 28
         'format' => 'hidden',
29 29
         'exclude' => 0,
30
-      ),
31
-      '2' => array(
30
+        ),
31
+        '2' => array(
32 32
         'format' => 'hidden',
33 33
         'exclude' => 0,
34
-      ),
35
-      '3' => array(
34
+        ),
35
+        '3' => array(
36 36
         'format' => 'hidden',
37 37
         'exclude' => 0,
38
-      ),
39
-      '4' => array(
38
+        ),
39
+        '4' => array(
40 40
         'format' => 'hidden',
41 41
         'exclude' => 0,
42
-      ),
42
+        ),
43 43
     ),
44 44
     'widget_active' => '1',
45 45
     'type' => 'text',
@@ -53,23 +53,23 @@  discard block
 block discarded – undo
53 53
 1|Export for translation',
54 54
     'allowed_values_php' => '',
55 55
     'widget' => array(
56
-      'default_value' => array(
56
+        'default_value' => array(
57 57
         '0' => array(
58
-          'value' => 1,
58
+            'value' => 1,
59
+        ),
59 60
         ),
60
-      ),
61
-      'default_value_php' => NULL,
62
-      'label' => 'Export to Transifex',
63
-      'weight' => '101',
64
-      'description' => 'If selected, this node will be exported to Transifex for translation. Otherwise the node will only be available in the default language.',
65
-      'type' => 'optionwidgets_onoff',
66
-      'module' => 'optionwidgets',
61
+        'default_value_php' => NULL,
62
+        'label' => 'Export to Transifex',
63
+        'weight' => '101',
64
+        'description' => 'If selected, this node will be exported to Transifex for translation. Otherwise the node will only be available in the default language.',
65
+        'type' => 'optionwidgets_onoff',
66
+        'module' => 'optionwidgets',
67 67
     ),
68
-  );
68
+    );
69 69
 
70
-  // Translatables
71
-  // Included for use with string extractors like potx.
72
-  t('boinctranslate export to transifex');
70
+    // Translatables
71
+    // Included for use with string extractors like potx.
72
+    t('boinctranslate export to transifex');
73 73
 
74
-  return $fields;
74
+    return $fields;
75 75
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
           'value' => 1,
59 59
         ),
60 60
       ),
61
-      'default_value_php' => NULL,
61
+      'default_value_php' => null,
62 62
       'label' => 'Export to Transifex',
63 63
       'weight' => '101',
64 64
       'description' => 'If selected, this node will be exported to Transifex for translation. Otherwise the node will only be available in the default language.',
Please login to merge, or discard this patch.
html/ops/badge_assign.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 //
33 33
 function get_pct_badges($badge_name_prefix, $badge_pctiles, $badge_images) {
34 34
     $badges = array();
35
-    for ($i=0; $i<3; $i++) {
35
+    for ($i = 0; $i < 3; $i++) {
36 36
         $badges[$i] = get_badge($badge_name_prefix."_".$i, "Top ".$badge_pctiles[$i]."% in average credit", $badge_images[$i]);
37 37
     }
38 38
     return $badges;
@@ -42,11 +42,11 @@  discard block
 block discarded – undo
42 42
 //
43 43
 function get_percentiles($is_user, $badge_pctiles) {
44 44
     $percentiles = array();
45
-    for ($i=0; $i<3; $i++) {
45
+    for ($i = 0; $i < 3; $i++) {
46 46
         if ($is_user) {
47
-            $percentiles[$i] = BoincUser::percentile("expavg_credit", "expavg_credit>1", 100-$badge_pctiles[$i]);
47
+            $percentiles[$i] = BoincUser::percentile("expavg_credit", "expavg_credit>1", 100 - $badge_pctiles[$i]);
48 48
         } else {
49
-            $percentiles[$i] = BoincTeam::percentile("expavg_credit", "expavg_credit>1", 100-$badge_pctiles[$i]);
49
+            $percentiles[$i] = BoincTeam::percentile("expavg_credit", "expavg_credit>1", 100 - $badge_pctiles[$i]);
50 50
         }
51 51
         if ($percentiles[$i] === false) {
52 52
             die("Can't get percentiles\n");
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 // Unassign other badges.
60 60
 //
61 61
 function assign_pct_badge($is_user, $item, $percentiles, $badges) {
62
-    for ($i=0; $i<3; $i++) {
62
+    for ($i = 0; $i < 3; $i++) {
63 63
         if ($item->expavg_credit >= $percentiles[$i]) {
64 64
             assign_badge($is_user, $item, $badges[$i]);
65 65
             unassign_badges($is_user, $item, $badges, $i);
@@ -73,13 +73,13 @@  discard block
 block discarded – undo
73 73
 // and assign/unassign RAC badges
74 74
 //
75 75
 function assign_badges($is_user, $badge_pctiles, $badge_images) {
76
-    $kind = $is_user?"user":"team";
76
+    $kind = $is_user ? "user" : "team";
77 77
     $badges = get_pct_badges($kind."_pct", $badge_pctiles, $badge_images);
78 78
     $pctiles = get_percentiles($is_user, $badge_pctiles);
79 79
     //echo "thresholds for $kind badges: $pctiles[0] $pctiles[1] $pctiles[2]\n";
80 80
 
81 81
     $n = 0;
82
-    $maxid = $is_user?BoincUser::max("id"):BoincTeam::max("id");
82
+    $maxid = $is_user ?BoincUser::max("id") : BoincTeam::max("id");
83 83
     while ($n <= $maxid) {
84 84
         $m = $n + 1000;
85 85
         if ($is_user) {
Please login to merge, or discard this patch.
html/ops/badge_assign_custom.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 ) {
78 78
     $badges = array();
79 79
     $limit = count($badge_level_names);
80
-    for ($i=0; $i < $limit; $i++) {
80
+    for ($i = 0; $i < $limit; $i++) {
81 81
         $badges[$i] = get_badge($badge_name_prefix."_".$sub_project["short_name"]."_".$i, "$badge_level_names[$i] in ".$sub_project["name"]." credit", $sub_project["short_name"].$badge_images[$i]);
82 82
     }
83 83
     return $badges;
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     // count from highest to lowest level, so the user get's assigned the
91 91
     // highest possible level and the lower levels get removed
92 92
     //
93
-    for ($i=count($levels)-1; $i>=0; $i--) {
93
+    for ($i = count($levels) - 1; $i >= 0; $i--) {
94 94
         if ($item->total_credit >= $levels[$i]) {
95 95
             assign_badge($is_user, $item, $badges[$i]);
96 96
             unassign_badges($is_user, $item, $badges, $i);
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     // count from highest to lowest level, so the user get's assigned the
115 115
     // highest possible level and the lower levels get removed
116 116
     //
117
-    for ($i=count($levels)-1; $i>=0; $i--) {
117
+    for ($i = count($levels) - 1; $i >= 0; $i--) {
118 118
         if ($sub_total >= $levels[$i]) {
119 119
             assign_badge($is_user, $item, $badges[$i]);
120 120
             unassign_badges($is_user, $item, $badges, $i);
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     $is_user, $badge_levels, $badge_level_names, $badge_images,
135 135
     $subprojects_list
136 136
 ) {
137
-    $kind = $is_user?"user":"team";
137
+    $kind = $is_user ? "user" : "team";
138 138
 
139 139
     // get badges for all subprojects including total
140 140
     //
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     $n = 0;
146
-    $maxid = $is_user?BoincUser::max("id"):BoincTeam::max("id");
146
+    $maxid = $is_user ?BoincUser::max("id") : BoincTeam::max("id");
147 147
     while ($n <= $maxid) {
148 148
         $m = $n + 1000;
149 149
         if ($is_user) {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
                     assign_tot_badge($is_user, $item, $badge_levels, $badges["total"]);
162 162
                 } else {
163 163
                     // appids come from project/project.inc
164
-                    $where_clause = "appid in (". implode(',', $sp["appids"]) .")";
164
+                    $where_clause = "appid in (".implode(',', $sp["appids"]).")";
165 165
                     assign_sub_badge(
166 166
                         $is_user, $item, $badge_levels, $badges[$sp["short_name"]],
167 167
                         $where_clause
Please login to merge, or discard this patch.
html/ops/export_credit_by_app.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@  discard block
 block discarded – undo
28 28
 function export_item($item, $is_user, $f) {
29 29
     global $sub_projects;
30 30
 
31
-    fprintf($f, $is_user?"<user>\n":"<team>\n");
31
+    fprintf($f, $is_user ? "<user>\n" : "<team>\n");
32 32
     fprintf($f, "    <id>$item->id</id>\n");
33
-    $crs = $is_user?
33
+    $crs = $is_user ?
34 34
         BoincCreditUser::enum("userid=$item->id")
35 35
         : BoincCreditTeam::enum("teamid=$item->id")
36 36
     ;
@@ -56,16 +56,16 @@  discard block
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
-    fprintf($f, $is_user?"</user>\n":"</team>\n");
59
+    fprintf($f, $is_user ? "</user>\n" : "</team>\n");
60 60
 }
61 61
 
62 62
 function export($is_user, $dir) {
63 63
     $n = 0;
64
-    $filename = $is_user?"$dir/user_work":"$dir/team_work";
64
+    $filename = $is_user ? "$dir/user_work" : "$dir/team_work";
65 65
     $f = fopen($filename, "w");
66 66
     if (!$f) die("fopen");
67
-    $is_user?  fprintf($f, "<users>\n"): fprintf($f, "<teams>\n");
68
-    $maxid = $is_user?BoincUser::max("id"):BoincTeam::max("id");
67
+    $is_user ?  fprintf($f, "<users>\n") : fprintf($f, "<teams>\n");
68
+    $maxid = $is_user ?BoincUser::max("id") : BoincTeam::max("id");
69 69
     while ($n <= $maxid) {
70 70
         $m = $n + 1000;
71 71
         if ($is_user) {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         }
79 79
         $n = $m;
80 80
     }
81
-    $is_user?  fprintf($f, "</users>\n"): fprintf($f, "</teams>\n");
81
+    $is_user ?  fprintf($f, "</users>\n") : fprintf($f, "</teams>\n");
82 82
     fclose($f);
83 83
     system("gzip -f $filename");
84 84
 }
Please login to merge, or discard this patch.
html/user/team.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -26,38 +26,38 @@
 block discarded – undo
26 26
 
27 27
 page_head(tra("Teams"));
28 28
 
29
-echo "<p>".tra("%1 participants may form %2 teams %3.", PROJECT, "<b>", "</b>") ."
29
+echo "<p>".tra("%1 participants may form %2 teams %3.", PROJECT, "<b>", "</b>")."
30 30
     <p>
31
-    ". tra("You may belong to only one team. You can join or quit a team at any time."). "
31
+    ". tra("You may belong to only one team. You can join or quit a team at any time.")."
32 32
     <p>" .
33
-    tra("Each team has a %1 founder %2 who may:", "<b>", "</b>") . "
33
+    tra("Each team has a %1 founder %2 who may:", "<b>", "</b>")."
34 34
     <ul>
35
-    <li> " . tra("edit the team's name and description") . "
36
-    <li> " . tra("add or remove team admins") . "
37
-    <li> " . tra("remove members from the team") . "
38
-    <li> " . tra("disband a team if it has no members") . "
35
+    <li> " . tra("edit the team's name and description")."
36
+    <li> " . tra("add or remove team admins")."
37
+    <li> " . tra("remove members from the team")."
38
+    <li> " . tra("disband a team if it has no members")."
39 39
     </ul>
40 40
     <p>" .
41
-    tra("To join a team, visit its team page and click %1 Join this team %2.", "<b>", "</b>") . "
42
-    <h3>" . tra("Find a team") . "</h3>
41
+    tra("To join a team, visit its team page and click %1 Join this team %2.", "<b>", "</b>")."
42
+    <h3>" . tra("Find a team")."</h3>
43 43
 ";
44 44
 team_search_form(null);
45 45
 echo "
46 46
 
47
-    <h3>" . tra("Top teams") . "</h3>
47
+    <h3>" . tra("Top teams")."</h3>
48 48
     <ul>
49
-    <li> <a href=\"top_teams.php\">" . tra("All teams") . "</a>
49
+    <li> <a href=\"top_teams.php\">" . tra("All teams")."</a>
50 50
 ";
51 51
 
52
-for ($i=1; $i<count($team_types); $i++) {
52
+for ($i = 1; $i < count($team_types); $i++) {
53 53
     echo "<li> <a href=\"top_teams.php?type=".$i."\">".tra("%1 teams", team_type_name($i))."</a>
54 54
     ";
55 55
 }
56 56
 
57 57
 echo "
58 58
     </ul>
59
-    <h3>" . tra("Create a new team") . "</h3>
60
-    " . tra("If you cannot find a team that is right for you, you can %1 create a team %2.", "<a href=\"team_create_form.php\">","</a>");
59
+    <h3>" . tra("Create a new team")."</h3>
60
+    " . tra("If you cannot find a team that is right for you, you can %1 create a team %2.", "<a href=\"team_create_form.php\">", "</a>");
61 61
 page_tail();
62 62
 
63 63
 ?>
Please login to merge, or discard this patch.
html/user/forum_thread.php 2 patches
Braces   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 $postid = get_int('postid', true);
31 31
 $filter = get_str('filter', true);
32 32
 
33
-if ($filter != "false"){
33
+if ($filter != "false") {
34 34
     $filter = true;
35 35
 } else {
36 36
     $filter = false;
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     $sort_style = $temp_sort_style;
81 81
 } else if ($sort_style) {
82 82
     $forum_style = 0;   // this is deprecated
83
-    if ($logged_in_user){
83
+    if ($logged_in_user) {
84 84
         $logged_in_user->prefs->thread_sorting = $sort_style;
85 85
         $logged_in_user->prefs->update("thread_sorting=$sort_style");
86 86
     } else {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     );
93 93
 } else {
94 94
     // get the sorting style from the user or a cookie
95
-    if ($logged_in_user){
95
+    if ($logged_in_user) {
96 96
         $sort_style = $logged_in_user->prefs->thread_sorting;
97 97
     } else {
98 98
         list($forum_style, $sort_style) = parse_forum_cookie();
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
 
121 121
 if (false) {
122 122
 if ($forum->parent_type == 0) {
123
-    if ($category->is_helpdesk && !$thread->status){
124
-        if ($logged_in_user){
125
-            if ($thread->owner == $logged_in_user->id){
123
+    if ($category->is_helpdesk && !$thread->status) {
124
+        if ($logged_in_user) {
125
+            if ($thread->owner == $logged_in_user->id) {
126 126
                 if ($thread->replies !=0) {
127 127
                     // Show a "this question has been answered" to the author
128 128
                     echo "<p>";
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     // If logged in user is moderator, enable some extra features
190 190
     //
191 191
     if (is_moderator($logged_in_user, $forum)) {
192
-        if ($thread->hidden){
192
+        if ($thread->hidden) {
193 193
             show_button_small(
194 194
                 "forum_moderate_thread_action.php?action=unhide&amp;thread=".$thread->id."$tokens",
195 195
                 tra("Unhide"),
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
                 tra("Hide this thread")
203 203
             );
204 204
         }
205
-        if ($thread->sticky){
205
+        if ($thread->sticky) {
206 206
             show_button_small(
207 207
                 "forum_moderate_thread_action.php?action=desticky&amp;thread=".$thread->id."$tokens",
208 208
                 tra("Make unsticky"),
Please login to merge, or discard this patch.
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 $postid = get_int('postid', true);
31 31
 $filter = get_str('filter', true);
32 32
 
33
-if ($filter != "false"){
33
+if ($filter != "false") {
34 34
     $filter = true;
35 35
 } else {
36 36
     $filter = false;
@@ -79,8 +79,8 @@  discard block
 block discarded – undo
79 79
 if ($temp_sort_style) {
80 80
     $sort_style = $temp_sort_style;
81 81
 } else if ($sort_style) {
82
-    $forum_style = 0;   // this is deprecated
83
-    if ($logged_in_user){
82
+    $forum_style = 0; // this is deprecated
83
+    if ($logged_in_user) {
84 84
         $logged_in_user->prefs->thread_sorting = $sort_style;
85 85
         $logged_in_user->prefs->update("thread_sorting=$sort_style");
86 86
     } else {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     );
93 93
 } else {
94 94
     // get the sorting style from the user or a cookie
95
-    if ($logged_in_user){
95
+    if ($logged_in_user) {
96 96
         $sort_style = $logged_in_user->prefs->thread_sorting;
97 97
     } else {
98 98
         list($forum_style, $sort_style) = parse_forum_cookie();
@@ -118,10 +118,10 @@  discard block
 block discarded – undo
118 118
 
119 119
 if (false) {
120 120
 if ($forum->parent_type == 0) {
121
-    if ($category->is_helpdesk && !$thread->status){
122
-        if ($logged_in_user){
123
-            if ($thread->owner == $logged_in_user->id){
124
-                if ($thread->replies !=0) {
121
+    if ($category->is_helpdesk && !$thread->status) {
122
+        if ($logged_in_user) {
123
+            if ($thread->owner == $logged_in_user->id) {
124
+                if ($thread->replies != 0) {
125 125
                     // Show a "this question has been answered" to the author
126 126
                     echo "<p>";
127 127
                     show_button(
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     // If logged in user is moderator, enable some extra features
190 190
     //
191 191
     if (is_moderator($logged_in_user, $forum)) {
192
-        if ($thread->hidden){
192
+        if ($thread->hidden) {
193 193
             show_button_small(
194 194
                 "forum_moderate_thread_action.php?action=unhide&amp;thread=".$thread->id."$tokens",
195 195
                 tra("Unhide"),
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
                 tra("Hide this thread")
203 203
             );
204 204
         }
205
-        if ($thread->sticky){
205
+        if ($thread->sticky) {
206 206
             show_button_small(
207 207
                 "forum_moderate_thread_action.php?action=desticky&amp;thread=".$thread->id."$tokens",
208 208
                 tra("Make unsticky"),
Please login to merge, or discard this patch.
html/inc/submit.inc 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     $b->create_time = (double)($batch->create_time);
171 171
     $b->est_completion_time = (double)($batch->est_completion_time);
172 172
     $b->njobs = (int)($batch->njobs);
173
-    $b->fraction_done = (double) $batch->fraction_done;
173
+    $b->fraction_done = (double)$batch->fraction_done;
174 174
     $b->nerror_jobs = (int)($batch->nerror_jobs);
175 175
     $b->state = (int)($batch->state);
176 176
     $b->completion_time = (double)($batch->completion_time);
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     </result>
399 399
 </output_template>
400 400
 ";
401
-    for ($i=0; $i<2; $i++) {
401
+    for ($i = 0; $i < 2; $i++) {
402 402
         $job = new StdClass;
403 403
         $job->input_files = array();
404 404
         $job->input_files[] = $f;
Please login to merge, or discard this patch.
drupal/sites/all/features/private_messages/private_messages.strongarm.inc 2 patches
Indentation   +23 added lines, -23 removed lines patch added patch discarded remove patch
@@ -4,13 +4,13 @@  discard block
 block discarded – undo
4 4
  * Implementation of hook_strongarm().
5 5
  */
6 6
 function private_messages_strongarm() {
7
-  $export = array();
7
+    $export = array();
8 8
 
9
-  $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
-  $strongarm->api_version = 1;
12
-  $strongarm->name = 'pm_email_notify_body';
13
-  $strongarm->value = 'Hi !boincuser_name,
9
+    $strongarm = new stdClass;
10
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11
+    $strongarm->api_version = 1;
12
+    $strongarm->name = 'pm_email_notify_body';
13
+    $strongarm->value = 'Hi !boincuser_name,
14 14
 
15 15
 This is an automatic reminder from the site !site. You have received a new private message from !author_boincuser_name.
16 16
 
@@ -19,21 +19,21 @@  discard block
 block discarded – undo
19 19
 
20 20
 If you don\'t want to receive these emails again, change your preferences here:
21 21
 !settings';
22
-  $export['pm_email_notify_body'] = $strongarm;
23
-
24
-  $strongarm = new stdClass;
25
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
26
-  $strongarm->api_version = 1;
27
-  $strongarm->name = 'pm_email_notify_default';
28
-  $strongarm->value = 1;
29
-  $export['pm_email_notify_default'] = $strongarm;
30
-
31
-  $strongarm = new stdClass;
32
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
33
-  $strongarm->api_version = 1;
34
-  $strongarm->name = 'pm_email_notify_subject';
35
-  $strongarm->value = 'New private message at !site.';
36
-  $export['pm_email_notify_subject'] = $strongarm;
37
-
38
-  return $export;
22
+    $export['pm_email_notify_body'] = $strongarm;
23
+
24
+    $strongarm = new stdClass;
25
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
26
+    $strongarm->api_version = 1;
27
+    $strongarm->name = 'pm_email_notify_default';
28
+    $strongarm->value = 1;
29
+    $export['pm_email_notify_default'] = $strongarm;
30
+
31
+    $strongarm = new stdClass;
32
+    $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
33
+    $strongarm->api_version = 1;
34
+    $strongarm->name = 'pm_email_notify_subject';
35
+    $strongarm->value = 'New private message at !site.';
36
+    $export['pm_email_notify_subject'] = $strongarm;
37
+
38
+    return $export;
39 39
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
   $export = array();
8 8
 
9 9
   $strongarm = new stdClass;
10
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
10
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
11 11
   $strongarm->api_version = 1;
12 12
   $strongarm->name = 'pm_email_notify_body';
13 13
   $strongarm->value = 'Hi !boincuser_name,
@@ -22,14 +22,14 @@  discard block
 block discarded – undo
22 22
   $export['pm_email_notify_body'] = $strongarm;
23 23
 
24 24
   $strongarm = new stdClass;
25
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
25
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
26 26
   $strongarm->api_version = 1;
27 27
   $strongarm->name = 'pm_email_notify_default';
28 28
   $strongarm->value = 1;
29 29
   $export['pm_email_notify_default'] = $strongarm;
30 30
 
31 31
   $strongarm = new stdClass;
32
-  $strongarm->disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
32
+  $strongarm->disabled = false; /* Edit this to true to make a default strongarm disabled initially */
33 33
   $strongarm->api_version = 1;
34 34
   $strongarm->name = 'pm_email_notify_subject';
35 35
   $strongarm->value = 'New private message at !site.';
Please login to merge, or discard this patch.