diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-28 20:25:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-28 20:25:22 +0000 |
commit | 0b61ecfe3ae40cfb7065640a01756714c512ecdf (patch) | |
tree | db40863d2ef7c4d64061db311b09cf36f8ab2e4b /includes | |
parent | 01eb7bff732b65228caea2238e0520bc15c3e69d (diff) | |
download | brdo-0b61ecfe3ae40cfb7065640a01756714c512ecdf.tar.gz brdo-0b61ecfe3ae40cfb7065640a01756714c512ecdf.tar.bz2 |
- Patch #782056 by aspilicious: removing every tab + trailing white space in core.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/ajax.inc | 2 | ||||
-rw-r--r-- | includes/bootstrap.inc | 2 | ||||
-rw-r--r-- | includes/common.inc | 2 | ||||
-rw-r--r-- | includes/database/prefetch.inc | 2 | ||||
-rw-r--r-- | includes/database/schema.inc | 4 | ||||
-rw-r--r-- | includes/database/sqlite/schema.inc | 2 | ||||
-rw-r--r-- | includes/locale.inc | 2 | ||||
-rw-r--r-- | includes/update.inc | 10 |
8 files changed, 13 insertions, 13 deletions
diff --git a/includes/ajax.inc b/includes/ajax.inc index 8a55adb58..1568e582f 100644 --- a/includes/ajax.inc +++ b/includes/ajax.inc @@ -168,7 +168,7 @@ * $commands[] = ajax_command_changed('#object-1'); * // Menu 'page callback' and #ajax['callback'] functions are supposed to * // return render arrays. If returning an AJAX commands array, it must be - * // encapsulated in a render array structure. + * // encapsulated in a render array structure. * return array('#type' => 'ajax', '#commands' => $commands); * @endcode * diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index f1d103329..f05172bbe 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -1464,7 +1464,7 @@ function check_plain($text) { // drupal_validate_utf8() here. This avoids the overhead of an additional // function call, since check_plain() may be called hundreds of times during // a request. For PHP 5.2.5+, this check for valid UTF-8 should be handled - // internally by PHP in htmlspecialchars(). + // internally by PHP in htmlspecialchars(). // See http://www.php.net/releases/5_2_5.php. // @todo remove this when support for either IE6 or PHP < 5.2.5 is dropped. diff --git a/includes/common.inc b/includes/common.inc index c09aa3a98..a065b1c1c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4848,7 +4848,7 @@ function drupal_render_page($page) { * using uasort(). Since this is expensive, when passing already sorted * elements to drupal_render(), for example from a database query, set * $elements['#sorted'] = TRUE to avoid sorting them a second time. - * + * * drupal_render() flags each element with a '#printed' status to indicate that * the element has been rendered, which allows individual elements of a given * array to be rendered independently and prevents them from being rendered diff --git a/includes/database/prefetch.inc b/includes/database/prefetch.inc index 9d02dcfc2..9edb0309d 100644 --- a/includes/database/prefetch.inc +++ b/includes/database/prefetch.inc @@ -175,7 +175,7 @@ class DatabaseStatementPrefetch implements Iterator, DatabaseStatementInterface // as soon as possible. $this->rowCount = $statement->rowCount(); $this->data = $statement->fetchAll(PDO::FETCH_ASSOC); - // Destroy the statement as soon as possible. See + // Destroy the statement as soon as possible. See // DatabaseConnection_sqlite::PDOPrepare() for explanation. unset($statement); diff --git a/includes/database/schema.inc b/includes/database/schema.inc index 5302a6d22..91503002f 100644 --- a/includes/database/schema.inc +++ b/includes/database/schema.inc @@ -604,9 +604,9 @@ abstract class DatabaseSchema implements QueryPlaceholderInterface { if ($this->tableExists($name)) { throw new DatabaseSchemaObjectExistsException(t('Table %name already exists.', array('%name' => $name))); } - $statements = $this->createTableSql($name, $table); + $statements = $this->createTableSql($name, $table); foreach ($statements as $statement) { - $this->connection->query($statement); + $this->connection->query($statement); } } diff --git a/includes/database/sqlite/schema.inc b/includes/database/sqlite/schema.inc index f8f18eb74..ade021987 100644 --- a/includes/database/sqlite/schema.inc +++ b/includes/database/sqlite/schema.inc @@ -14,7 +14,7 @@ class DatabaseSchema_sqlite extends DatabaseSchema { - /** + /** * Override DatabaseSchema::$defaultSchema */ protected $defaultSchema = 'main'; diff --git a/includes/locale.inc b/includes/locale.inc index a4ca41691..fab8356bf 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -683,7 +683,7 @@ function _locale_import_one_string($op, $value = NULL, $mode = NULL, $lang = NUL $languages = language_list(); if (($mode != LOCALE_IMPORT_KEEP) || empty($languages[$lang]->plurals)) { // Since we only need to parse the header if we ought to update the - // plural formula, only run this if we don't need to keep existing + // plural formula, only run this if we don't need to keep existing // data untouched or if we don't have an existing plural formula. $header = _locale_import_parse_header($value['msgstr']); diff --git a/includes/update.inc b/includes/update.inc index bfc026ec9..424054584 100644 --- a/includes/update.inc +++ b/includes/update.inc @@ -223,11 +223,11 @@ function update_fix_d7_block_deltas(&$sandbox, $renamed_deltas) { )) ->fetchField(); if ($block_exists) { - db_update($table) - ->fields(array('delta' => $new_delta)) - ->condition('module', $module) - ->condition('delta', $old_delta) - ->execute(); + db_update($table) + ->fields(array('delta' => $new_delta)) + ->condition('module', $module) + ->condition('delta', $old_delta) + ->execute(); } } } |