mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 12:35:06 +01: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;
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user