summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2015-02-17 16:37:26 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2015-02-17 16:37:26 -0800
commitea85d7c8e6f1793357841d0ba8d64f01cd3f69f4 (patch)
tree470fb9f6cb9205c66d34fa1bcf40438b445506c3
parent9b993d50861ca924ce285c04e45d722b17db3598 (diff)
downloadbrdo-ea85d7c8e6f1793357841d0ba8d64f01cd3f69f4.tar.gz
brdo-ea85d7c8e6f1793357841d0ba8d64f01cd3f69f4.tar.bz2
Issue #2417983 by jacob.embree: Change docs instances of "the the" to "the"
-rw-r--r--includes/ajax.inc2
-rw-r--r--includes/common.inc4
-rw-r--r--includes/file.inc2
-rw-r--r--includes/form.inc2
-rw-r--r--misc/tableselect.js2
-rw-r--r--modules/locale/locale.test2
-rw-r--r--modules/node/node.module2
-rw-r--r--modules/simpletest/tests/ajax.test2
-rw-r--r--modules/simpletest/tests/ajax_forms_test.module2
-rw-r--r--modules/simpletest/tests/database_test.test16
-rw-r--r--modules/statistics/statistics.admin.inc2
11 files changed, 20 insertions, 18 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc
index 10877a246..6e8e277b8 100644
--- a/includes/ajax.inc
+++ b/includes/ajax.inc
@@ -211,7 +211,7 @@
*
* When returning an Ajax command array, it is often useful to have
* status messages rendered along with other tasks in the command array.
- * In that case the the Ajax commands array may be constructed like this:
+ * In that case the Ajax commands array may be constructed like this:
* @code
* $commands = array();
* $commands[] = ajax_command_replace(NULL, $output);
diff --git a/includes/common.inc b/includes/common.inc
index 20cc82be1..631d246bc 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -4448,8 +4448,8 @@ function drupal_get_js($scope = 'header', $javascript = NULL, $skip_alter = FALS
*
* Libraries, JavaScript, CSS and other types of custom structures are attached
* to elements using the #attached property. The #attached property is an
- * associative array, where the keys are the the attachment types and the values
- * are the attached data. For example:
+ * associative array, where the keys are the attachment types and the values are
+ * the attached data. For example:
* @code
* $build['#attached'] = array(
* 'js' => array(drupal_get_path('module', 'taxonomy') . '/taxonomy.js'),
diff --git a/includes/file.inc b/includes/file.inc
index 803661f4d..d3ac87ea0 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -1559,7 +1559,7 @@ function file_save_upload($form_field_name, $validators = array(), $destination
return FALSE;
}
- // Add in our check of the the file name length.
+ // Add in our check of the file name length.
$validators['file_validate_name_length'] = array();
// Call the validation functions specified by this function's caller.
diff --git a/includes/form.inc b/includes/form.inc
index 223c4cd68..0d358c2b4 100644
--- a/includes/form.inc
+++ b/includes/form.inc
@@ -938,7 +938,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
// after the batch is processed.
}
- // Set a flag to indicate the the form has been processed and executed.
+ // Set a flag to indicate that the form has been processed and executed.
$form_state['executed'] = TRUE;
// Redirect the form based on values in $form_state.
diff --git a/misc/tableselect.js b/misc/tableselect.js
index fee63a9fd..8f0cd9750 100644
--- a/misc/tableselect.js
+++ b/misc/tableselect.js
@@ -60,7 +60,7 @@ Drupal.tableSelect = function () {
};
Drupal.tableSelectRange = function (from, to, state) {
- // We determine the looping mode based on the the order of from and to.
+ // We determine the looping mode based on the order of from and to.
var mode = from.rowIndex > to.rowIndex ? 'previousSibling' : 'nextSibling';
// Traverse through the sibling nodes.
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index 9ffec9f1a..90865872f 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -1202,7 +1202,7 @@ EOF;
* Helper function that returns a .po file with context.
*/
function getPoFileWithContext() {
- // Croatian (code hr) is one the the languages that have a different
+ // Croatian (code hr) is one of the languages that have a different
// form for the full name and the abbreviated name for the month May.
return <<< EOF
msgid ""
diff --git a/modules/node/node.module b/modules/node/node.module
index dbb1a6504..0a7560bb9 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1610,7 +1610,7 @@ function node_permission() {
}
/**
- * Gathers the rankings from the the hook_ranking() implementations.
+ * Gathers the rankings from the hook_ranking() implementations.
*
* @param $query
* A query object that has been extended with the Search DB Extender.
diff --git a/modules/simpletest/tests/ajax.test b/modules/simpletest/tests/ajax.test
index c38a325fb..afe02306b 100644
--- a/modules/simpletest/tests/ajax.test
+++ b/modules/simpletest/tests/ajax.test
@@ -293,7 +293,7 @@ class AJAXCommandsTestCase extends AJAXTestCase {
$this->assertCommand($commands, $expected, "'changed' AJAX command (with asterisk) issued with correct selector");
// Tests the 'css' command.
- $commands = $this->drupalPostAJAX($form_path, $edit, array('op' => t("Set the the '#box' div to be blue.")));
+ $commands = $this->drupalPostAJAX($form_path, $edit, array('op' => t("Set the '#box' div to be blue.")));
$expected = array(
'command' => 'css',
'selector' => '#css_div',
diff --git a/modules/simpletest/tests/ajax_forms_test.module b/modules/simpletest/tests/ajax_forms_test.module
index 260d9112e..de2fa0ba8 100644
--- a/modules/simpletest/tests/ajax_forms_test.module
+++ b/modules/simpletest/tests/ajax_forms_test.module
@@ -157,7 +157,7 @@ function ajax_forms_test_ajax_commands_form($form, &$form_state) {
// Shows the Ajax 'css' command.
$form['css_command_example'] = array(
- '#value' => t("Set the the '#box' div to be blue."),
+ '#value' => t("Set the '#box' div to be blue."),
'#type' => 'submit',
'#ajax' => array(
'callback' => 'ajax_forms_test_advanced_commands_css_callback',
diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test
index 12ddb343e..9c533bed5 100644
--- a/modules/simpletest/tests/database_test.test
+++ b/modules/simpletest/tests/database_test.test
@@ -238,7 +238,7 @@ class DatabaseConnectionTestCase extends DatabaseTestCase {
// Open the default target so we have an object to compare.
$db1 = Database::getConnection('default', 'default');
- // Try to close the the default connection, then open a new one.
+ // Try to close the default connection, then open a new one.
Database::closeConnection('default', 'default');
$db2 = Database::getConnection('default', 'default');
@@ -3454,12 +3454,14 @@ class DatabaseTransactionTestCase extends DatabaseTestCase {
}
/**
- * Helper method for transaction unit test. This "outer layer" transaction
- * starts and then encapsulates the "inner layer" transaction. This nesting
- * is used to evaluate whether the the database transaction API properly
- * supports nesting. By "properly supports," we mean the outer transaction
- * continues to exist regardless of what functions are called and whether
- * those functions start their own transactions.
+ * Helper method for transaction unit test.
+ *
+ * This "outer layer" transaction starts and then encapsulates the
+ * "inner layer" transaction. This nesting is used to evaluate whether the
+ * database transaction API properly supports nesting. By "properly supports,"
+ * we mean the outer transaction continues to exist regardless of what
+ * functions are called and whether those functions start their own
+ * transactions.
*
* In contrast, a typical database would commit the outer transaction, start
* a new transaction for the inner layer, commit the inner layer transaction,
diff --git a/modules/statistics/statistics.admin.inc b/modules/statistics/statistics.admin.inc
index e83a115f0..f061081e8 100644
--- a/modules/statistics/statistics.admin.inc
+++ b/modules/statistics/statistics.admin.inc
@@ -59,7 +59,7 @@ function statistics_recent_hits() {
* statistics settings form, but is dependent on cron running.
*
* @return
- * A render array containing information about the the top pages.
+ * A render array containing information about the top pages.
*/
function statistics_top_pages() {
$header = array(