diff options
| author | Tristan Darricau <github@nicofuma.fr> | 2014-05-11 19:28:26 +0200 |
|---|---|---|
| committer | Tristan Darricau <github@nicofuma.fr> | 2014-05-11 19:28:26 +0200 |
| commit | 237619792dd2d7b6c9e057307139e6bb52283df3 (patch) | |
| tree | 8014696de22485bd052a9c0cdc1140fad4fd1f54 /phpBB/includes/mcp/mcp_main.php | |
| parent | cc1a304da6c8946cfd3d46fc08548109a8e1c05b (diff) | |
| download | forums-237619792dd2d7b6c9e057307139e6bb52283df3.tar forums-237619792dd2d7b6c9e057307139e6bb52283df3.tar.gz forums-237619792dd2d7b6c9e057307139e6bb52283df3.tar.bz2 forums-237619792dd2d7b6c9e057307139e6bb52283df3.tar.xz forums-237619792dd2d7b6c9e057307139e6bb52283df3.zip | |
[ticket/11942] Always display delete reason
PHPBB3-11942
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
| -rw-r--r-- | phpBB/includes/mcp/mcp_main.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 075e49453f..c133c4f574 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -823,7 +823,6 @@ function mcp_delete_topic($topic_ids, $is_soft = false, $soft_delete_reason = '' 'S_TOPIC_MODE' => true, 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), - 'S_DELETE_REASON' => $auth->acl_get('m_softdelete', $forum_id), )); $l_confirm = (sizeof($topic_ids) == 1) ? 'DELETE_TOPIC' : 'DELETE_TOPICS'; @@ -1060,7 +1059,6 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '', 'S_SOFTDELETED' => $only_softdeleted, 'S_ALLOWED_DELETE' => $auth->acl_get('m_delete', $forum_id), 'S_ALLOWED_SOFTDELETE' => $auth->acl_get('m_softdelete', $forum_id), - 'S_DELETE_REASON' => $auth->acl_get('m_softdelete', $forum_id), )); $l_confirm = (sizeof($post_ids) == 1) ? 'DELETE_POST' : 'DELETE_POSTS'; |
