mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/9687] Finish documentation and integrate the new code
PHPBB3-9687
This commit is contained in:
committed by
Marc Alexander
parent
9373fa3edb
commit
7267df431f
@@ -25,9 +25,12 @@ class acp_ban
|
||||
|
||||
function main($id, $mode)
|
||||
{
|
||||
global $user, $template, $request, $phpbb_dispatcher;
|
||||
global $user, $template, $request, $phpbb_dispatcher, $phpbb_container;
|
||||
global $phpbb_root_path, $phpEx;
|
||||
|
||||
/** @var \phpbb\ban\manager $ban_manager */
|
||||
$ban_manager = $phpbb_container->get('ban.manager');
|
||||
|
||||
if (!function_exists('user_ban'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||
|
Reference in New Issue
Block a user