mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
- m_warn is no longer a local moderation permission
- magic urls should properly use html entities - speed up posting on big boards, MAX(post_id) query can be simplified a lot in certain cases - user IP list should be labelled with "Other users" [Bug #9707] git-svn-id: file:///svn/phpbb/trunk@7355 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1082,6 +1082,12 @@ if (version_compare($current_version, '3.0.b5', '<='))
|
||||
$db->sql_query($sql);
|
||||
}
|
||||
unset($sql_in);
|
||||
|
||||
$sql = 'UPDATE ' . ACL_OPTIONS_TABLE . ' SET is_local = 0 WHERE auth_option = \'m_warn\'';
|
||||
$db->sql_query($sql);
|
||||
|
||||
$sql = 'UPDATE ' . MODULES_TABLE . ' SET module_auth = \'acl_m_warn && acl_f_read,$id\' WHERE module_basename = \'warn\' AND module_mode = \'warn_post\'';
|
||||
$db->sql_query($sql);
|
||||
$no_updates = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user