From: Henry S. <kel...@ph...> - 2009-08-12 19:58:14
|
Author: Kellanved Date: Wed Aug 12 20:57:34 2009 New Revision: 9967 Log: some fixes Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php Modified: branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php (original) --- branches/phpBB-3_0_0/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php Wed Aug 12 20:57:34 2009 *************** *** 121,127 **** // load language file for pretty display in the ACP dropdown $user->add_lang('captcha_qa'); ! if (!self::is_installed()) { return false; } --- 121,127 ---- // load language file for pretty display in the ACP dropdown $user->add_lang('captcha_qa'); ! if (!phpbb_captcha_qa::is_installed()) { return false; } *************** *** 273,279 **** 'strict' => array('BOOL', 0), 'lang_id' => array('UINT', 0), 'lang_iso' => array('VCHAR:30', 0), ! 'question_text' => array('TEXT', 0), ), 'PRIMARY_KEY' => 'question_id', 'KEYS' => array( --- 273,279 ---- 'strict' => array('BOOL', 0), 'lang_id' => array('UINT', 0), 'lang_iso' => array('VCHAR:30', 0), ! 'question_text' => array('TEXT_UNI', ''), ), 'PRIMARY_KEY' => 'question_id', 'KEYS' => array( *************** *** 283,289 **** ANSWERS_TABLE => array ( 'COLUMNS' => array( 'question_id' => array('UINT', 0), ! 'answer_text' => array('TEXT', 0), ), 'KEYS' => array( 'question_id' => array('INDEX', 'question_id'), --- 283,289 ---- ANSWERS_TABLE => array ( 'COLUMNS' => array( 'question_id' => array('UINT', 0), ! 'answer_text' => array('STEXT_UNI', ''), ), 'KEYS' => array( 'question_id' => array('INDEX', 'question_id'), |