aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-06-23 22:48:08 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-06-23 22:48:08 +0200
commit5403b487885dd7593a43c198f8baacc194ff1a3a (patch)
treedaae955a3f9543f59cbc5ec0fa00ff0fc671d351 /phpBB/includes/functions_posting.php
parent0abc1f0f973e916f12b0c5cf0e844c991f63c552 (diff)
downloadforums-5403b487885dd7593a43c198f8baacc194ff1a3a.tar
forums-5403b487885dd7593a43c198f8baacc194ff1a3a.tar.gz
forums-5403b487885dd7593a43c198f8baacc194ff1a3a.tar.bz2
forums-5403b487885dd7593a43c198f8baacc194ff1a3a.tar.xz
forums-5403b487885dd7593a43c198f8baacc194ff1a3a.zip
[ticket/12612] Prefix handle_post_delete() with phpbb and remove unused global
PHPBB3-12612
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 23fdd809e2..e21b8d4e8c 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -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';