1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/16955] Clean up captcha classes

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-27 16:13:56 +01:00
parent 83cb41e72a
commit 35228ffd62
6 changed files with 22 additions and 12 deletions

View File

@@ -23,6 +23,12 @@ class acp_captcha
{
var $u_action;
/** @var string Template name */
public $tpl_name = 'acp_captcha';
/** @var string Page title language variable */
public $page_title = 'ACP_VC_SETTINGS';
function main($id, $mode)
{
global $user, $template, $phpbb_log, $request;
@@ -85,8 +91,6 @@ class acp_captcha
),
);
$this->tpl_name = 'acp_captcha';
$this->page_title = 'ACP_VC_SETTINGS';
$form_key = 'acp_captcha';
add_form_key($form_key);