summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-07-05 17:48:33 +0000
committerDries Buytaert <dries@buytaert.net>2008-07-05 17:48:33 +0000
commit4fe1f3582cba1f9f327c5f9c0206ee4c7c168185 (patch)
tree02eac6591409bf943f1b15e6bb274e9a0a06d9db /modules/simpletest/simpletest.module
parented086130de20364b0338aa51d5d5347436cb0345 (diff)
downloadbrdo-4fe1f3582cba1f9f327c5f9c0206ee4c7c168185.tar.gz
brdo-4fe1f3582cba1f9f327c5f9c0206ee4c7c168185.tar.bz2
- Patch #276774 by Moshe, Susurrus: remove crufty settings.
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module45
1 files changed, 0 insertions, 45 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 4d041492b..44707d881 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -27,13 +27,6 @@ function simpletest_menu() {
'description' => 'Run tests against Drupal core and your active modules. These tests help assure that your site code is working as designed.',
'access arguments' => array('administer unit tests'),
);
- $items['admin/settings/testing'] = array(
- 'title' => 'Testing',
- 'description' => 'Configure SimpleTest framework.',
- 'page callback' => 'drupal_get_form',
- 'page arguments' => array('simpletest_settings'),
- 'access arguments' => array('access administration pages'),
- );
return $items;
}
@@ -563,41 +556,3 @@ function simpletest_clean_temporary_directory($path) {
}
rmdir($path);
}
-
-function simpletest_settings() {
- $form = array();
-
- $form['http_auth'] = array(
- '#type' => 'fieldset',
- '#title' => t('HTTP authentication'),
- '#description' => t('If needed, enter a username and password for reaching your web site. This is not a drupal username/password.') .
- t('This is a login presented by your web server. Most sites may leave this section empty.'),
- );
- $form['http_auth']['simpletest_httpauth'] = array(
- '#type' => 'checkbox',
- '#title' => t('Use http authentication'),
- '#default_value' => variable_get('simpletest_httpauth', FALSE),
- );
- $form['http_auth']['simpletest_httpauth_username'] = array(
- '#type' => 'textfield',
- '#title' => t('Username'),
- '#default_value' => variable_get('simpletest_httpauth_username', ''),
- );
- $form['http_auth']['simpletest_httpauth_pass'] = array(
- '#title' => t('Password'),
- '#type' => 'password',
- '#default_value' => variable_get('simpletest_httpauth_pass', ''),
- );
- $form['devel'] = array(
- '#type' => 'fieldset',
- '#title' => t('Devel module settings'),
- '#description' => t('Devel module can cause problems if you have query log enabled. It will output a few thousand queries and crash your browser'),
- );
- $form['devel']['simpletest_devel'] = array(
- '#type' => 'checkbox',
- '#title' => t('Use devel query log on test result pages'),
- '#default_value' => variable_get('simpletest_devel', FALSE),
- );
-
- return system_settings_form($form);
-}