Passed
Push — master ( a3159a...06ed2c )
by
unknown
13:16 queued 10s
created
boinc/modules/flag_abuse_reason/includes/flag_abuse_reason.flag_default.inc 2 patches
Indentation   +175 added lines, -175 removed lines patch added patch discarded remove patch
@@ -23,15 +23,15 @@  discard block
 block discarded – undo
23 23
  * Node Flags
24 24
  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
25 25
 function _flag_abuse_reason_abuse_node_flags(&$flags) {
26
-  // Exported flag: "Node Abuse 1 SPAM".
27
-  $flags['abuse_node_1'] = array(
26
+    // Exported flag: "Node Abuse 1 SPAM".
27
+    $flags['abuse_node_1'] = array(
28 28
     'content_type' => 'node',
29 29
     'title' => 'Node Abuse 1 SPAM',
30 30
     'global' => FALSE,
31 31
     'types' => array(
32
-      '0' => 'forum',
33
-      '1' => 'news',
34
-      '2' => 'team_forum',
32
+        '0' => 'forum',
33
+        '1' => 'news',
34
+        '2' => 'team_forum',
35 35
     ),
36 36
     'flag_short' => 'Flag as SPAM',
37 37
     'flag_long' => 'Flag this content SPAM.',
@@ -42,12 +42,12 @@  discard block
 block discarded – undo
42 42
     'unflag_denied_text' => '',
43 43
     'link_type' => 'toggle',
44 44
     'roles' => array(
45
-      'flag' => array(
45
+        'flag' => array(
46 46
         '0' => 2,
47
-      ),
48
-      'unflag' => array(
47
+        ),
48
+        'unflag' => array(
49 49
         '0' => 2,
50
-      ),
50
+        ),
51 51
     ),
52 52
     'weight' => 0,
53 53
     'show_on_page' => 0,
@@ -57,19 +57,19 @@  discard block
 block discarded – undo
57 57
     'i18n' => '0',
58 58
     'module' => 'boinc_standard',
59 59
     'locked' => array(
60
-      '0' => 'name',
60
+        '0' => 'name',
61 61
     ),
62 62
     'api_version' => 2,
63
-  );
64
-  // Exported flag: "Node Abuse 2 Link".
65
-  $flags['abuse_node_2'] = array(
63
+    );
64
+    // Exported flag: "Node Abuse 2 Link".
65
+    $flags['abuse_node_2'] = array(
66 66
     'content_type' => 'node',
67 67
     'title' => 'Node Abuse 2 Link',
68 68
     'global' => FALSE,
69 69
     'types' => array(
70
-      '0' => 'forum',
71
-      '1' => 'news',
72
-      '2' => 'team_forum',
70
+        '0' => 'forum',
71
+        '1' => 'news',
72
+        '2' => 'team_forum',
73 73
     ),
74 74
     'flag_short' => 'Report as abusive link',
75 75
     'flag_long' => 'Flag this content as abusive link.',
@@ -80,12 +80,12 @@  discard block
 block discarded – undo
80 80
     'unflag_denied_text' => '',
81 81
     'link_type' => 'toggle',
82 82
     'roles' => array(
83
-      'flag' => array(
83
+        'flag' => array(
84 84
         '0' => 2,
85
-      ),
86
-      'unflag' => array(
85
+        ),
86
+        'unflag' => array(
87 87
         '0' => 2,
88
-      ),
88
+        ),
89 89
     ),
90 90
     'weight' => 0,
91 91
     'show_on_page' => 0,
@@ -95,19 +95,19 @@  discard block
 block discarded – undo
95 95
     'i18n' => '0',
96 96
     'module' => 'boinc_standard',
97 97
     'locked' => array(
98
-      '0' => 'name',
98
+        '0' => 'name',
99 99
     ),
100 100
     'api_version' => 2,
101
-  );
102
-  // Exported flag: "Node Abuse 3 Hostile".
103
-  $flags['abuse_node_3'] = array(
101
+    );
102
+    // Exported flag: "Node Abuse 3 Hostile".
103
+    $flags['abuse_node_3'] = array(
104 104
     'content_type' => 'node',
105 105
     'title' => 'Node Abuse 3 Hostile',
106 106
     'global' => FALSE,
107 107
     'types' => array(
108
-      '0' => 'forum',
109
-      '1' => 'news',
110
-      '2' => 'team_forum',
108
+        '0' => 'forum',
109
+        '1' => 'news',
110
+        '2' => 'team_forum',
111 111
     ),
112 112
     'flag_short' => 'Flag as hostile',
113 113
     'flag_long' => 'Flag this content as hostile.',
@@ -118,12 +118,12 @@  discard block
 block discarded – undo
118 118
     'unflag_denied_text' => '',
119 119
     'link_type' => 'toggle',
120 120
     'roles' => array(
121
-      'flag' => array(
121
+        'flag' => array(
122 122
         '0' => 2,
123
-      ),
124
-      'unflag' => array(
123
+        ),
124
+        'unflag' => array(
125 125
         '0' => 2,
126
-      ),
126
+        ),
127 127
     ),
128 128
     'weight' => 0,
129 129
     'show_on_page' => 0,
@@ -133,19 +133,19 @@  discard block
 block discarded – undo
133 133
     'i18n' => '0',
134 134
     'module' => 'boinc_standard',
135 135
     'locked' => array(
136
-      '0' => 'name',
136
+        '0' => 'name',
137 137
     ),
138 138
     'api_version' => 2,
139
-  );
140
-  // Exported flag: "Node Abuse 4 Not Kid Friendly".
141
-  $flags['abuse_node_4'] = array(
139
+    );
140
+    // Exported flag: "Node Abuse 4 Not Kid Friendly".
141
+    $flags['abuse_node_4'] = array(
142 142
     'content_type' => 'node',
143 143
     'title' => 'Node Abuse 4 Not Kid Friendly',
144 144
     'global' => FALSE,
145 145
     'types' => array(
146
-      '0' => 'forum',
147
-      '1' => 'news',
148
-      '2' => 'team_forum',
146
+        '0' => 'forum',
147
+        '1' => 'news',
148
+        '2' => 'team_forum',
149 149
     ),
150 150
     'flag_short' => 'Flag as not kid-friendly',
151 151
     'flag_long' => 'Flag this content as not kid-friendly.',
@@ -156,12 +156,12 @@  discard block
 block discarded – undo
156 156
     'unflag_denied_text' => '',
157 157
     'link_type' => 'toggle',
158 158
     'roles' => array(
159
-      'flag' => array(
159
+        'flag' => array(
160 160
         '0' => 2,
161
-      ),
162
-      'unflag' => array(
161
+        ),
162
+        'unflag' => array(
163 163
         '0' => 2,
164
-      ),
164
+        ),
165 165
     ),
166 166
     'weight' => 0,
167 167
     'show_on_page' => 0,
@@ -171,19 +171,19 @@  discard block
 block discarded – undo
171 171
     'i18n' => '0',
172 172
     'module' => 'boinc_standard',
173 173
     'locked' => array(
174
-      '0' => 'name',
174
+        '0' => 'name',
175 175
     ),
176 176
     'api_version' => 2,
177
-  );
178
-  // Exported flag: "Node Abuse 5 Other".
179
-  $flags['abuse_node_5'] = array(
177
+    );
178
+    // Exported flag: "Node Abuse 5 Other".
179
+    $flags['abuse_node_5'] = array(
180 180
     'content_type' => 'node',
181 181
     'title' => 'Node Abuse 5 Other',
182 182
     'global' => FALSE,
183 183
     'types' => array(
184
-      '0' => 'forum',
185
-      '1' => 'news',
186
-      '2' => 'team_forum',
184
+        '0' => 'forum',
185
+        '1' => 'news',
186
+        '2' => 'team_forum',
187 187
     ),
188 188
     'flag_short' => 'Flag as other',
189 189
     'flag_long' => 'Flag this content - other reason.',
@@ -194,12 +194,12 @@  discard block
 block discarded – undo
194 194
     'unflag_denied_text' => '',
195 195
     'link_type' => 'toggle',
196 196
     'roles' => array(
197
-      'flag' => array(
197
+        'flag' => array(
198 198
         '0' => 2,
199
-      ),
200
-      'unflag' => array(
199
+        ),
200
+        'unflag' => array(
201 201
         '0' => 2,
202
-      ),
202
+        ),
203 203
     ),
204 204
     'weight' => 0,
205 205
     'show_on_page' => 0,
@@ -209,19 +209,19 @@  discard block
 block discarded – undo
209 209
     'i18n' => '0',
210 210
     'module' => 'boinc_standard',
211 211
     'locked' => array(
212
-      '0' => 'name',
212
+        '0' => 'name',
213 213
     ),
214 214
     'api_version' => 2,
215
-  );
216
-  // Exported flag: "Node Abuse meta".
217
-  $flags['abuse_node_meta'] = array(
215
+    );
216
+    // Exported flag: "Node Abuse meta".
217
+    $flags['abuse_node_meta'] = array(
218 218
     'content_type' => 'node',
219 219
     'title' => 'Node Abuse meta',
220 220
     'global' => FALSE,
221 221
     'types' => array(
222
-      '0' => 'forum',
223
-      '1' => 'news',
224
-      '2' => 'team_forum',
222
+        '0' => 'forum',
223
+        '1' => 'news',
224
+        '2' => 'team_forum',
225 225
     ),
226 226
     'flag_short' => 'Report',
227 227
     'flag_long' => 'Report content',
@@ -232,12 +232,12 @@  discard block
 block discarded – undo
232 232
     'unflag_denied_text' => '',
233 233
     'link_type' => 'toggle',
234 234
     'roles' => array(
235
-      'flag' => array(
235
+        'flag' => array(
236 236
         '0' => 2,
237
-      ),
238
-      'unflag' => array(
237
+        ),
238
+        'unflag' => array(
239 239
         '0' => 2,
240
-      ),
240
+        ),
241 241
     ),
242 242
     'weight' => 0,
243 243
     'show_on_page' => 1,
@@ -247,27 +247,27 @@  discard block
 block discarded – undo
247 247
     'i18n' => '0',
248 248
     'module' => 'boinc_standard',
249 249
     'locked' => array(
250
-      '0' => 'name',
250
+        '0' => 'name',
251 251
     ),
252 252
     'api_version' => 2,
253
-  );
253
+    );
254 254
 
255
-  return $flags;
255
+    return $flags;
256 256
 }
257 257
 
258 258
 /*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * *
259 259
  * Comment Flags
260 260
  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
261 261
 function _flag_abuse_reason_abuse_comment_flags(&$flags) {
262
-  // Exported flag: "Comment Abuse 1 SPAM".
263
-  $flags['abuse_comment_1'] = array(
262
+    // Exported flag: "Comment Abuse 1 SPAM".
263
+    $flags['abuse_comment_1'] = array(
264 264
     'content_type' => 'comment',
265 265
     'title' => 'Comment Abuse 1 SPAM',
266 266
     'global' => FALSE,
267 267
     'types' => array(
268
-      '0' => 'forum',
269
-      '1' => 'news',
270
-      '2' => 'team_forum',
268
+        '0' => 'forum',
269
+        '1' => 'news',
270
+        '2' => 'team_forum',
271 271
     ),
272 272
     'flag_short' => 'Flag as SPAM',
273 273
     'flag_long' => 'Flag this comment as SPAM.',
@@ -278,31 +278,31 @@  discard block
 block discarded – undo
278 278
     'unflag_denied_text' => '',
279 279
     'link_type' => 'toggle',
280 280
     'roles' => array(
281
-      'flag' => array(
281
+        'flag' => array(
282 282
         '0' => 2,
283
-      ),
284
-      'unflag' => array(
283
+        ),
284
+        'unflag' => array(
285 285
         '0' => 2,
286
-      ),
286
+        ),
287 287
     ),
288 288
     'weight' => 0,
289 289
     'access_author' => '',
290 290
     'show_on_comment' => 0,
291 291
     'module' => 'boinc_standard',
292 292
     'locked' => array(
293
-      '0' => 'name',
293
+        '0' => 'name',
294 294
     ),
295 295
     'api_version' => 2,
296
-  );
297
-  // Exported flag: "Comment Abuse 2 LINK".
298
-  $flags['abuse_comment_2'] = array(
296
+    );
297
+    // Exported flag: "Comment Abuse 2 LINK".
298
+    $flags['abuse_comment_2'] = array(
299 299
     'content_type' => 'comment',
300 300
     'title' => 'Comment Abuse 2 LINK',
301 301
     'global' => FALSE,
302 302
     'types' => array(
303
-      '0' => 'forum',
304
-      '1' => 'news',
305
-      '2' => 'team_forum',
303
+        '0' => 'forum',
304
+        '1' => 'news',
305
+        '2' => 'team_forum',
306 306
     ),
307 307
     'flag_short' => 'Flag as abusive link',
308 308
     'flag_long' => 'Flag this comment with abusive link.',
@@ -313,31 +313,31 @@  discard block
 block discarded – undo
313 313
     'unflag_denied_text' => '',
314 314
     'link_type' => 'toggle',
315 315
     'roles' => array(
316
-      'flag' => array(
316
+        'flag' => array(
317 317
         '0' => 2,
318
-      ),
319
-      'unflag' => array(
318
+        ),
319
+        'unflag' => array(
320 320
         '0' => 2,
321
-      ),
321
+        ),
322 322
     ),
323 323
     'weight' => 0,
324 324
     'access_author' => '',
325 325
     'show_on_comment' => 0,
326 326
     'module' => 'boinc_standard',
327 327
     'locked' => array(
328
-      '0' => 'name',
328
+        '0' => 'name',
329 329
     ),
330 330
     'api_version' => 2,
331
-  );
332
-  // Exported flag: "Comment Abuse 3 Hostile".
333
-  $flags['abuse_comment_3'] = array(
331
+    );
332
+    // Exported flag: "Comment Abuse 3 Hostile".
333
+    $flags['abuse_comment_3'] = array(
334 334
     'content_type' => 'comment',
335 335
     'title' => 'Comment Abuse 3 Hostile',
336 336
     'global' => FALSE,
337 337
     'types' => array(
338
-      '0' => 'forum',
339
-      '1' => 'news',
340
-      '2' => 'team_forum',
338
+        '0' => 'forum',
339
+        '1' => 'news',
340
+        '2' => 'team_forum',
341 341
     ),
342 342
     'flag_short' => 'Flag as hostile',
343 343
     'flag_long' => 'Flag this comment as hostile.',
@@ -348,31 +348,31 @@  discard block
 block discarded – undo
348 348
     'unflag_denied_text' => '',
349 349
     'link_type' => 'toggle',
350 350
     'roles' => array(
351
-      'flag' => array(
351
+        'flag' => array(
352 352
         '0' => 2,
353
-      ),
354
-      'unflag' => array(
353
+        ),
354
+        'unflag' => array(
355 355
         '0' => 2,
356
-      ),
356
+        ),
357 357
     ),
358 358
     'weight' => 0,
359 359
     'access_author' => '',
360 360
     'show_on_comment' => 0,
361 361
     'module' => 'boinc_standard',
362 362
     'locked' => array(
363
-      '0' => 'name',
363
+        '0' => 'name',
364 364
     ),
365 365
     'api_version' => 2,
366
-  );
367
-  // Exported flag: "Comment Abuse 4 Not Kid Friendly".
368
-  $flags['abuse_comment_4'] = array(
366
+    );
367
+    // Exported flag: "Comment Abuse 4 Not Kid Friendly".
368
+    $flags['abuse_comment_4'] = array(
369 369
     'content_type' => 'comment',
370 370
     'title' => 'Comment Abuse 4 Not Kid Friendly',
371 371
     'global' => FALSE,
372 372
     'types' => array(
373
-      '0' => 'forum',
374
-      '1' => 'news',
375
-      '2' => 'team_forum',
373
+        '0' => 'forum',
374
+        '1' => 'news',
375
+        '2' => 'team_forum',
376 376
     ),
377 377
     'flag_short' => 'Flag as not kid-friendly',
378 378
     'flag_long' => 'Flag this comment as not kid-friendly.',
@@ -383,31 +383,31 @@  discard block
 block discarded – undo
383 383
     'unflag_denied_text' => '',
384 384
     'link_type' => 'toggle',
385 385
     'roles' => array(
386
-      'flag' => array(
386
+        'flag' => array(
387 387
         '0' => 2,
388
-      ),
389
-      'unflag' => array(
388
+        ),
389
+        'unflag' => array(
390 390
         '0' => 2,
391
-      ),
391
+        ),
392 392
     ),
393 393
     'weight' => 0,
394 394
     'access_author' => '',
395 395
     'show_on_comment' => 0,
396 396
     'module' => 'boinc_standard',
397 397
     'locked' => array(
398
-      '0' => 'name',
398
+        '0' => 'name',
399 399
     ),
400 400
     'api_version' => 2,
401
-  );
402
-  // Exported flag: "Comment Abuse 5 Other".
403
-  $flags['abuse_comment_5'] = array(
401
+    );
402
+    // Exported flag: "Comment Abuse 5 Other".
403
+    $flags['abuse_comment_5'] = array(
404 404
     'content_type' => 'comment',
405 405
     'title' => 'Comment Abuse 5 Other',
406 406
     'global' => FALSE,
407 407
     'types' => array(
408
-      '0' => 'forum',
409
-      '1' => 'news',
410
-      '2' => 'team_forum',
408
+        '0' => 'forum',
409
+        '1' => 'news',
410
+        '2' => 'team_forum',
411 411
     ),
412 412
     'flag_short' => 'Flag as other',
413 413
     'flag_long' => 'Flag this comment - other reason',
@@ -418,31 +418,31 @@  discard block
 block discarded – undo
418 418
     'unflag_denied_text' => '',
419 419
     'link_type' => 'toggle',
420 420
     'roles' => array(
421
-      'flag' => array(
421
+        'flag' => array(
422 422
         '0' => 2,
423
-      ),
424
-      'unflag' => array(
423
+        ),
424
+        'unflag' => array(
425 425
         '0' => 2,
426
-      ),
426
+        ),
427 427
     ),
428 428
     'weight' => 0,
429 429
     'access_author' => '',
430 430
     'show_on_comment' => 0,
431 431
     'module' => 'boinc_standard',
432 432
     'locked' => array(
433
-      '0' => 'name',
433
+        '0' => 'name',
434 434
     ),
435 435
     'api_version' => 2,
436
-  );
437
-  // Exported flag: "Comment Abuse meta".
438
-  $flags['abuse_comment_meta'] = array(
436
+    );
437
+    // Exported flag: "Comment Abuse meta".
438
+    $flags['abuse_comment_meta'] = array(
439 439
     'content_type' => 'comment',
440 440
     'title' => 'Comment Abuse meta',
441 441
     'global' => '0',
442 442
     'types' => array(
443
-      '0' => 'forum',
444
-      '1' => 'news',
445
-      '2' => 'team_forum',
443
+        '0' => 'forum',
444
+        '1' => 'news',
445
+        '2' => 'team_forum',
446 446
     ),
447 447
     'flag_short' => 'Report',
448 448
     'flag_long' => 'Report comment.',
@@ -453,32 +453,32 @@  discard block
 block discarded – undo
453 453
     'unflag_denied_text' => '',
454 454
     'link_type' => 'toggle',
455 455
     'roles' => array(
456
-      'flag' => array(
456
+        'flag' => array(
457 457
         '0' => 2,
458
-      ),
459
-      'unflag' => array(
458
+        ),
459
+        'unflag' => array(
460 460
         '0' => 2,
461
-      ),
461
+        ),
462 462
     ),
463 463
     'weight' => 0,
464 464
     'access_author' => '',
465 465
     'show_on_comment' => 1,
466 466
     'module' => 'boinc_standard',
467 467
     'locked' => array(
468
-      '0' => 'name',
468
+        '0' => 'name',
469 469
     ),
470 470
     'api_version' => 2,
471
-  );
471
+    );
472 472
 
473
-  return $flags;
473
+    return $flags;
474 474
 }
475 475
 
476 476
 /*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * *
477 477
  * User Flags
478 478
  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
479 479
 function _flag_abuse_reason_abuse_user_flags(&$flags) {
480
-  // Exported flag: "User Abuse 1 SPAM".
481
-  $flags['abuse_user_1'] = array(
480
+    // Exported flag: "User Abuse 1 SPAM".
481
+    $flags['abuse_user_1'] = array(
482 482
     'content_type' => 'user',
483 483
     'title' => 'User Abuse 1 SPAM',
484 484
     'global' => FALSE,
@@ -492,24 +492,24 @@  discard block
 block discarded – undo
492 492
     'unflag_denied_text' => '',
493 493
     'link_type' => 'toggle',
494 494
     'roles' => array(
495
-      'flag' => array(
495
+        'flag' => array(
496 496
         '0' => 2,
497
-      ),
498
-      'unflag' => array(
497
+        ),
498
+        'unflag' => array(
499 499
         '0' => 2,
500
-      ),
500
+        ),
501 501
     ),
502 502
     'weight' => 0,
503 503
     'show_on_profile' => 0,
504 504
     'access_uid' => '',
505 505
     'module' => 'boinc_standard',
506 506
     'locked' => array(
507
-      '0' => 'name',
507
+        '0' => 'name',
508 508
     ),
509 509
     'api_version' => 2,
510
-  );
511
-  // Exported flag: "User Abuse 2 Link".
512
-  $flags['abuse_user_2'] = array(
510
+    );
511
+    // Exported flag: "User Abuse 2 Link".
512
+    $flags['abuse_user_2'] = array(
513 513
     'content_type' => 'user',
514 514
     'title' => 'User Abuse 2 Link',
515 515
     'global' => FALSE,
@@ -523,24 +523,24 @@  discard block
 block discarded – undo
523 523
     'unflag_denied_text' => '',
524 524
     'link_type' => 'toggle',
525 525
     'roles' => array(
526
-      'flag' => array(
526
+        'flag' => array(
527 527
         '0' => 2,
528
-      ),
529
-      'unflag' => array(
528
+        ),
529
+        'unflag' => array(
530 530
         '0' => 2,
531
-      ),
531
+        ),
532 532
     ),
533 533
     'weight' => 0,
534 534
     'show_on_profile' => 0,
535 535
     'access_uid' => '',
536 536
     'module' => 'boinc_standard',
537 537
     'locked' => array(
538
-      '0' => 'name',
538
+        '0' => 'name',
539 539
     ),
540 540
     'api_version' => 2,
541
-  );
542
-  // Exported flag: "User Abuse 3 Not Kid Friendly".
543
-  $flags['abuse_user_3'] = array(
541
+    );
542
+    // Exported flag: "User Abuse 3 Not Kid Friendly".
543
+    $flags['abuse_user_3'] = array(
544 544
     'content_type' => 'user',
545 545
     'title' => 'User Abuse 3 Not Kid Friendly',
546 546
     'global' => FALSE,
@@ -554,24 +554,24 @@  discard block
 block discarded – undo
554 554
     'unflag_denied_text' => '',
555 555
     'link_type' => 'toggle',
556 556
     'roles' => array(
557
-      'flag' => array(
557
+        'flag' => array(
558 558
         '0' => 2,
559
-      ),
560
-      'unflag' => array(
559
+        ),
560
+        'unflag' => array(
561 561
         '0' => 2,
562
-      ),
562
+        ),
563 563
     ),
564 564
     'weight' => 0,
565 565
     'show_on_profile' => 0,
566 566
     'access_uid' => '',
567 567
     'module' => 'boinc_standard',
568 568
     'locked' => array(
569
-      '0' => 'name',
569
+        '0' => 'name',
570 570
     ),
571 571
     'api_version' => 2,
572
-  );
573
-  // Exported flag: "User Abuse 4 Other".
574
-  $flags['abuse_user_4'] = array(
572
+    );
573
+    // Exported flag: "User Abuse 4 Other".
574
+    $flags['abuse_user_4'] = array(
575 575
     'content_type' => 'user',
576 576
     'title' => 'User Abuse 4 Other',
577 577
     'global' => FALSE,
@@ -585,24 +585,24 @@  discard block
 block discarded – undo
585 585
     'unflag_denied_text' => '',
586 586
     'link_type' => 'toggle',
587 587
     'roles' => array(
588
-      'flag' => array(
588
+        'flag' => array(
589 589
         '0' => 2,
590
-      ),
591
-      'unflag' => array(
590
+        ),
591
+        'unflag' => array(
592 592
         '0' => 2,
593
-      ),
593
+        ),
594 594
     ),
595 595
     'weight' => 0,
596 596
     'show_on_profile' => 0,
597 597
     'access_uid' => '',
598 598
     'module' => 'boinc_standard',
599 599
     'locked' => array(
600
-      '0' => 'name',
600
+        '0' => 'name',
601 601
     ),
602 602
     'api_version' => 2,
603
-  );
604
-  // Exported flag: "User Abuse Meta".
605
-  $flags['abuse_user_meta'] = array(
603
+    );
604
+    // Exported flag: "User Abuse Meta".
605
+    $flags['abuse_user_meta'] = array(
606 606
     'content_type' => 'user',
607 607
     'title' => 'User Abuse Meta',
608 608
     'global' => FALSE,
@@ -616,22 +616,22 @@  discard block
 block discarded – undo
616 616
     'unflag_denied_text' => '',
617 617
     'link_type' => 'toggle',
618 618
     'roles' => array(
619
-      'flag' => array(
619
+        'flag' => array(
620 620
         '0' => 2,
621
-      ),
622
-      'unflag' => array(
621
+        ),
622
+        'unflag' => array(
623 623
         '0' => 2,
624
-      ),
624
+        ),
625 625
     ),
626 626
     'weight' => 0,
627 627
     'show_on_profile' => 1,
628 628
     'access_uid' => '',
629 629
     'module' => 'boinc_standard',
630 630
     'locked' => array(
631
-      '0' => 'name',
631
+        '0' => 'name',
632 632
     ),
633 633
     'api_version' => 2,
634
-  );
634
+    );
635 635
 
636
-  return $flags;
636
+    return $flags;
637 637
 }
Please login to merge, or discard this patch.
Upper-Lower-Casing   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
   $flags['abuse_node_1'] = array(
28 28
     'content_type' => 'node',
29 29
     'title' => 'Node Abuse 1 SPAM',
30
-    'global' => FALSE,
30
+    'global' => false,
31 31
     'types' => array(
32 32
       '0' => 'forum',
33 33
       '1' => 'news',
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
   $flags['abuse_node_2'] = array(
66 66
     'content_type' => 'node',
67 67
     'title' => 'Node Abuse 2 Link',
68
-    'global' => FALSE,
68
+    'global' => false,
69 69
     'types' => array(
70 70
       '0' => 'forum',
71 71
       '1' => 'news',
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
   $flags['abuse_node_3'] = array(
104 104
     'content_type' => 'node',
105 105
     'title' => 'Node Abuse 3 Hostile',
106
-    'global' => FALSE,
106
+    'global' => false,
107 107
     'types' => array(
108 108
       '0' => 'forum',
109 109
       '1' => 'news',
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
   $flags['abuse_node_4'] = array(
142 142
     'content_type' => 'node',
143 143
     'title' => 'Node Abuse 4 Not Kid Friendly',
144
-    'global' => FALSE,
144
+    'global' => false,
145 145
     'types' => array(
146 146
       '0' => 'forum',
147 147
       '1' => 'news',
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
   $flags['abuse_node_5'] = array(
180 180
     'content_type' => 'node',
181 181
     'title' => 'Node Abuse 5 Other',
182
-    'global' => FALSE,
182
+    'global' => false,
183 183
     'types' => array(
184 184
       '0' => 'forum',
185 185
       '1' => 'news',
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
   $flags['abuse_node_meta'] = array(
218 218
     'content_type' => 'node',
219 219
     'title' => 'Node Abuse meta',
220
-    'global' => FALSE,
220
+    'global' => false,
221 221
     'types' => array(
222 222
       '0' => 'forum',
223 223
       '1' => 'news',
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
   $flags['abuse_comment_1'] = array(
264 264
     'content_type' => 'comment',
265 265
     'title' => 'Comment Abuse 1 SPAM',
266
-    'global' => FALSE,
266
+    'global' => false,
267 267
     'types' => array(
268 268
       '0' => 'forum',
269 269
       '1' => 'news',
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
   $flags['abuse_comment_2'] = array(
299 299
     'content_type' => 'comment',
300 300
     'title' => 'Comment Abuse 2 LINK',
301
-    'global' => FALSE,
301
+    'global' => false,
302 302
     'types' => array(
303 303
       '0' => 'forum',
304 304
       '1' => 'news',
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
   $flags['abuse_comment_3'] = array(
334 334
     'content_type' => 'comment',
335 335
     'title' => 'Comment Abuse 3 Hostile',
336
-    'global' => FALSE,
336
+    'global' => false,
337 337
     'types' => array(
338 338
       '0' => 'forum',
339 339
       '1' => 'news',
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
   $flags['abuse_comment_4'] = array(
369 369
     'content_type' => 'comment',
370 370
     'title' => 'Comment Abuse 4 Not Kid Friendly',
371
-    'global' => FALSE,
371
+    'global' => false,
372 372
     'types' => array(
373 373
       '0' => 'forum',
374 374
       '1' => 'news',
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
   $flags['abuse_comment_5'] = array(
404 404
     'content_type' => 'comment',
405 405
     'title' => 'Comment Abuse 5 Other',
406
-    'global' => FALSE,
406
+    'global' => false,
407 407
     'types' => array(
408 408
       '0' => 'forum',
409 409
       '1' => 'news',
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
   $flags['abuse_user_1'] = array(
482 482
     'content_type' => 'user',
483 483
     'title' => 'User Abuse 1 SPAM',
484
-    'global' => FALSE,
484
+    'global' => false,
485 485
     'types' => array(),
486 486
     'flag_short' => 'Report User SPAM',
487 487
     'flag_long' => 'Report this user profile as SPAM.',
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
   $flags['abuse_user_2'] = array(
513 513
     'content_type' => 'user',
514 514
     'title' => 'User Abuse 2 Link',
515
-    'global' => FALSE,
515
+    'global' => false,
516 516
     'types' => array(),
517 517
     'flag_short' => 'Report as abusive link',
518 518
     'flag_long' => 'Report user profile as abusive link.',
@@ -543,7 +543,7 @@  discard block
 block discarded – undo
543 543
   $flags['abuse_user_3'] = array(
544 544
     'content_type' => 'user',
545 545
     'title' => 'User Abuse 3 Not Kid Friendly',
546
-    'global' => FALSE,
546
+    'global' => false,
547 547
     'types' => array(),
548 548
     'flag_short' => 'Report as not kid-friendly',
549 549
     'flag_long' => 'Report this user profile as not kid-friendly.',
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
   $flags['abuse_user_4'] = array(
575 575
     'content_type' => 'user',
576 576
     'title' => 'User Abuse 4 Other',
577
-    'global' => FALSE,
577
+    'global' => false,
578 578
     'types' => array(),
579 579
     'flag_short' => 'Other',
580 580
     'flag_long' => 'Report this user profile - other reason.',
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
   $flags['abuse_user_meta'] = array(
606 606
     'content_type' => 'user',
607 607
     'title' => 'User Abuse Meta',
608
-    'global' => FALSE,
608
+    'global' => false,
609 609
     'types' => array(),
610 610
     'flag_short' => 'Report User',
611 611
     'flag_long' => 'Report User',
Please login to merge, or discard this patch.