aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-02-24 17:33:42 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-02-24 17:33:42 +0000
commit724b37ae9706c24b23833da67565dc20d7d78045 (patch)
treeeea320ac39a6498362441f819b9ea53381524de5 /phpBB/includes/mcp/mcp_main.php
parent37e0e0a4da489125f825ad9f2ba9ea1763e82452 (diff)
downloadforums-724b37ae9706c24b23833da67565dc20d7d78045.tar
forums-724b37ae9706c24b23833da67565dc20d7d78045.tar.gz
forums-724b37ae9706c24b23833da67565dc20d7d78045.tar.bz2
forums-724b37ae9706c24b23833da67565dc20d7d78045.tar.xz
forums-724b37ae9706c24b23833da67565dc20d7d78045.zip
- blabla, additional bugfixing permissions...
git-svn-id: file:///svn/phpbb/trunk@5580 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 8862cf31dd..06c06cd98a 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -602,6 +602,11 @@ function mcp_delete_post($post_ids)
if (confirm_box(true))
{
+ if (!function_exists('delete_posts'))
+ {
+ include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
+ }
+
// Count the number of topics that are affected
// I did not use COUNT(DISTINCT ...) because I remember having problems
// with it on older versions of MySQL -- Ashe