1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-06 14:35:56 +02:00

some fixes

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9967 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Henry Sudhof 2009-08-12 19:57:34 +00:00
parent 490a377ba7
commit af213166f3

View File

@ -121,7 +121,7 @@ class phpbb_captcha_qa
// load language file for pretty display in the ACP dropdown // load language file for pretty display in the ACP dropdown
$user->add_lang('captcha_qa'); $user->add_lang('captcha_qa');
if (!self::is_installed()) if (!phpbb_captcha_qa::is_installed())
{ {
return false; return false;
} }
@ -273,7 +273,7 @@ class phpbb_captcha_qa
'strict' => array('BOOL', 0), 'strict' => array('BOOL', 0),
'lang_id' => array('UINT', 0), 'lang_id' => array('UINT', 0),
'lang_iso' => array('VCHAR:30', 0), 'lang_iso' => array('VCHAR:30', 0),
'question_text' => array('TEXT', 0), 'question_text' => array('TEXT_UNI', ''),
), ),
'PRIMARY_KEY' => 'question_id', 'PRIMARY_KEY' => 'question_id',
'KEYS' => array( 'KEYS' => array(
@ -283,7 +283,7 @@ class phpbb_captcha_qa
ANSWERS_TABLE => array ( ANSWERS_TABLE => array (
'COLUMNS' => array( 'COLUMNS' => array(
'question_id' => array('UINT', 0), 'question_id' => array('UINT', 0),
'answer_text' => array('TEXT', 0), 'answer_text' => array('STEXT_UNI', ''),
), ),
'KEYS' => array( 'KEYS' => array(
'question_id' => array('INDEX', 'question_id'), 'question_id' => array('INDEX', 'question_id'),