|
@@ 287-290 (lines=4) @@
|
| 284 |
|
global $modSettings, $context; |
| 285 |
|
|
| 286 |
|
// Excluding certain boards... |
| 287 |
|
if ($exclude_boards === null && !empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0) |
| 288 |
|
$exclude_boards = array($modSettings['recycle_board']); |
| 289 |
|
else |
| 290 |
|
$exclude_boards = empty($exclude_boards) ? array() : (is_array($exclude_boards) ? $exclude_boards : array($exclude_boards)); |
| 291 |
|
|
| 292 |
|
// What about including certain boards - note we do some protection here as pre-2.0 didn't have this parameter. |
| 293 |
|
if (is_array($include_boards) || (int) $include_boards === $include_boards) |
|
@@ 487-490 (lines=4) @@
|
| 484 |
|
global $settings, $scripturl, $txt, $user_info; |
| 485 |
|
global $modSettings, $smcFunc, $context; |
| 486 |
|
|
| 487 |
|
if ($exclude_boards === null && !empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0) |
| 488 |
|
$exclude_boards = array($modSettings['recycle_board']); |
| 489 |
|
else |
| 490 |
|
$exclude_boards = empty($exclude_boards) ? array() : (is_array($exclude_boards) ? $exclude_boards : array($exclude_boards)); |
| 491 |
|
|
| 492 |
|
// Only some boards?. |
| 493 |
|
if (is_array($include_boards) || (int) $include_boards === $include_boards) |