1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 14:30:32 +02:00

[ticket/12612] Prefix handle_post_delete() with phpbb and remove unused global

PHPBB3-12612
This commit is contained in:
Joas Schilling
2014-06-23 22:48:08 +02:00
parent 0abc1f0f97
commit 5403b48788
2 changed files with 4 additions and 4 deletions

View File

@@ -2514,9 +2514,9 @@ function upload_popup($forum_style = 0)
/**
* Do the various checks required for removing posts as well as removing it
*/
function handle_post_delete($forum_id, $topic_id, $post_id, &$post_data, $is_soft = false, $soft_delete_reason = '')
function phpbb_handle_post_delete($forum_id, $topic_id, $post_id, &$post_data, $is_soft = false, $soft_delete_reason = '')
{
global $user, $db, $auth, $config, $request;
global $user, $auth, $config, $request;
global $phpbb_root_path, $phpEx;
$perm_check = ($is_soft) ? 'softdelete' : 'delete';