aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-09-05 09:22:57 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-09-05 09:22:57 +0000
commit2c2a2c10d92d76a1497469bb15b2e4f6d499793e (patch)
treed55a83af5c346ab8d25fa1366af0dede195552f9 /phpBB
parent8ab85ebdb03105bffbd30e9ac374068a92972752 (diff)
downloadforums-2c2a2c10d92d76a1497469bb15b2e4f6d499793e.tar
forums-2c2a2c10d92d76a1497469bb15b2e4f6d499793e.tar.gz
forums-2c2a2c10d92d76a1497469bb15b2e4f6d499793e.tar.bz2
forums-2c2a2c10d92d76a1497469bb15b2e4f6d499793e.tar.xz
forums-2c2a2c10d92d76a1497469bb15b2e4f6d499793e.zip
oh, forgot one thing
git-svn-id: file:///svn/phpbb/trunk@6353 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_privmsgs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index 6b2acb1dfd..ad6ed9907a 100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -283,6 +283,7 @@ function check_rule(&$rules, &$rule_row, &$message_row, $user_id)
break;
case ACTION_DELETE_MESSAGE:
+ global $db, $auth;
// Check for admins/mods - users are not allowed to remove those messages...
// We do the check here to make sure the data we use is consistent