mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-15 12:05:21 +02:00
First round of fixes
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9793 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
117aa0fc98
commit
45e127fc64
@ -97,10 +97,7 @@ class phpbb_captcha_qa
|
||||
include("$phpbb_root_path/includes/db/db_tools.$phpEx");
|
||||
}
|
||||
$db_tool = new phpbb_db_tools($db);
|
||||
if (!$db_tool->sql_table_exists(QUESTIONS_TABLE))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return $db_tool->sql_table_exists(QUESTIONS_TABLE);
|
||||
}
|
||||
|
||||
function is_available()
|
||||
@ -109,7 +106,7 @@ class phpbb_captcha_qa
|
||||
|
||||
$user->add_lang('captcha_qa');
|
||||
|
||||
if (self::is_installed())
|
||||
if (!self::is_installed())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user