Commit a8035238 authored by wundo's avatar wundo

code cleanup

parent ffe6fb89
...@@ -42,7 +42,6 @@ function captcha_menu($may_cache) { ...@@ -42,7 +42,6 @@ function captcha_menu($may_cache) {
'path' => 'admin/settings/captcha/points', 'path' => 'admin/settings/captcha/points',
'title' => t('Captcha Points'), 'title' => t('Captcha Points'),
'description' => t('Administer in what forms Captchas are applied.'), 'description' => t('Administer in what forms Captchas are applied.'),
// 'callback' => 'captcha_admin_points',
'callback' => 'drupal_get_form', 'callback' => 'drupal_get_form',
'callback arguments' => array('captcha_admin_points'), 'callback arguments' => array('captcha_admin_points'),
'access' => user_access('administer site configuration'), 'access' => user_access('administer site configuration'),
...@@ -259,7 +258,6 @@ function captcha_captcha() { ...@@ -259,7 +258,6 @@ function captcha_captcha() {
'#description' => t('Please solve the math problem above and type in the result. e.g. for 1+1, type 2.'), '#description' => t('Please solve the math problem above and type in the result. e.g. for 1+1, type 2.'),
'#weight' => 0, '#weight' => 0,
'#required' => TRUE, '#required' => TRUE,
// '#validate' => array('_captcha_validate' => array()),
); );
} }
return $result; return $result;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment