mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/11626] Remove LDAP dependency on template
Returns template vars rather than requiring the template. PHPBB3-11626
This commit is contained in:
@@ -658,8 +658,9 @@ class acp_board
|
||||
$auth_tpl = $provider->get_acp_template($this->new_config);
|
||||
if ($auth_tpl)
|
||||
{
|
||||
$template->assign_vars($auth_tpl['TEMPLATE_VARS']);
|
||||
$template->assign_block_vars('auth_tpl', array(
|
||||
'TEMPLATE_FILE' => $auth_tpl,
|
||||
'TEMPLATE_FILE' => $auth_tpl['TEMPLATE_FILE'],
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user