mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
[ticket/10758] Dependency inject parameters into update_foes.
Also add phpbb prefix since the signature is being changed anyway. PHPBB3-10758
This commit is contained in:
@@ -3730,12 +3730,12 @@ function group_update_listings($group_id)
|
||||
|
||||
if ($mod_permissions || $admin_permissions)
|
||||
{
|
||||
if (!function_exists('update_foes'))
|
||||
if (!function_exists('phpbb_update_foes'))
|
||||
{
|
||||
global $phpbb_root_path, $phpEx;
|
||||
include($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
||||
}
|
||||
update_foes(array($group_id));
|
||||
phpbb_update_foes($db, $auth, array($group_id));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user