mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
oh, forgot one thing
git-svn-id: file:///svn/phpbb/trunk@6353 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8ab85ebdb0
commit
2c2a2c10d9
@ -283,6 +283,7 @@ function check_rule(&$rules, &$rule_row, &$message_row, $user_id)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ACTION_DELETE_MESSAGE:
|
case ACTION_DELETE_MESSAGE:
|
||||||
|
global $db, $auth;
|
||||||
|
|
||||||
// Check for admins/mods - users are not allowed to remove those messages...
|
// 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
|
// We do the check here to make sure the data we use is consistent
|
||||||
|
Loading…
x
Reference in New Issue
Block a user