|
@@ -635,21 +635,6 @@ function MessageIndex()
|
|
|
$context['can_remove'] |= ($started && allowedTo('remove_own'));
|
|
|
}
|
|
|
|
|
|
- // Find the boards/cateogories they can move their topic to.
|
|
|
- if ($options['display_quick_mod'] == 1 && $context['can_move'] && !empty($context['topics']))
|
|
|
- {
|
|
|
- require_once($sourcedir . '/Subs-MessageIndex.php');
|
|
|
- $boardListOptions = array(
|
|
|
- 'excluded_boards' => array($board),
|
|
|
- 'not_redirection' => true,
|
|
|
- 'use_permissions' => true,
|
|
|
- 'selected_board' => empty($_SESSION['move_to_topic']) ? null : $_SESSION['move_to_topic'],
|
|
|
- );
|
|
|
-
|
|
|
- // With no other boards to see, it's useless to move.
|
|
|
- if (empty($context['move_to_boards']))
|
|
|
- $context['can_move'] = false;
|
|
|
- }
|
|
|
// Can we use quick moderation checkboxes?
|
|
|
if ($options['display_quick_mod'] == 1)
|
|
|
$context['can_quick_mod'] = $context['user']['is_logged'] || $context['can_approve'] || $context['can_remove'] || $context['can_lock'] || $context['can_sticky'] || $context['can_move'] || $context['can_merge'] || $context['can_restore'];
|