Skip to content

Commit

Permalink
- Removing whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuytaert committed Jan 26, 2009
1 parent 8851b57 commit 6d3d75f
Show file tree
Hide file tree
Showing 34 changed files with 154 additions and 154 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Drupal 7.0, xxxx-xx-xx (development version)
- Search:
* Added support for language-aware searches.
- Aggregator:
* Introduced architecture that allows pluggable parsers and processors for
* Introduced architecture that allows pluggable parsers and processors for
syndicating RSS and Atom feeds.
- Testing:
* Added test framework and tests.
Expand Down
14 changes: 7 additions & 7 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// $Id$
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Preamble
Preamble

The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
Expand Down Expand Up @@ -57,7 +57,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.

GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. This License applies to any program or other work which contains
Expand Down Expand Up @@ -256,7 +256,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.

NO WARRANTY
NO WARRANTY

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
Expand All @@ -278,9 +278,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS

How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
Expand Down
2 changes: 1 addition & 1 deletion includes/batch.inc
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function _batch_process() {

// If we are in progressive mode, break processing after 1 second.
if ($batch['progressive'] && timer_read('batch_processing') > 1000) {
// Record elapsed wall clock time.
// Record elapsed wall clock time.
$current_set['elapsed'] = round((microtime(TRUE) - $current_set['start']) * 1000, 2);
break;
}
Expand Down
2 changes: 1 addition & 1 deletion includes/database/mysql/database.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DatabaseConnection_mysql extends DatabaseConnection {
public function __construct(array $connection_options = array()) {
// This driver defaults to non transaction support.
$this->transactionSupport = !empty($connection_option['transactions']);

// MySQL never supports transactional DDL.
$this->transactionalDDLSupport = FALSE;

Expand Down
4 changes: 2 additions & 2 deletions includes/database/mysql/schema.inc
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
class DatabaseSchema_mysql extends DatabaseSchema {

/**
* Build a condition to match a table name against a standard information_schema.
* Build a condition to match a table name against a standard information_schema.
*
* MySQL uses databases like schemas rather than catalogs so when we build
* a condition to query the information_schema.tables, we set the default
* database as the schema unless specified otherwise, and exclude table_catalog
* database as the schema unless specified otherwise, and exclude table_catalog
* from the condition criteria.
*/
protected function buildTableNameCondition($table_name, $operator = '=') {
Expand Down
2 changes: 1 addition & 1 deletion includes/database/pgsql/database.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DatabaseConnection_pgsql extends DatabaseConnection {
public function __construct(array $connection_options = array()) {
// This driver defaults to transaction support, except if explicitly passed FALSE.
$this->transactionSupport = !isset($connection_options['transactions']) || ($connection_options['transactions'] !== FALSE);

// Transactional DDL is always available in PostgreSQL,
// but we'll only enable it if standard transactions are.
$this->transactionalDDLSupport = $this->transactionSupport;
Expand Down
6 changes: 3 additions & 3 deletions includes/database/pgsql/schema.inc
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ class DatabaseSchema_pgsql extends DatabaseSchema {
if (!empty($field['unsigned'])) {
// Unsigned datatypes are not supported in PostgreSQL 8.3. In MySQL,
// they are used to ensure a positive number is inserted and it also
// doubles the maximum integer size that can be stored in a field.
// The PostgreSQL schema in Drupal creates a check constraint
// to ensure that a value inserted is >= 0. To provide the extra
// doubles the maximum integer size that can be stored in a field.
// The PostgreSQL schema in Drupal creates a check constraint
// to ensure that a value inserted is >= 0. To provide the extra
// integer capacity, here, we bump up the column field size.
if (!isset($map)) {
$map = $this->getFieldTypeMap();
Expand Down
10 changes: 5 additions & 5 deletions includes/database/schema.inc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ abstract class DatabaseSchema {
*
* The information_schema is a SQL standard that provides information about the
* database server and the databases, schemas, tables, columns and users within
* it. This makes information_schema a useful tool to use across the drupal
* it. This makes information_schema a useful tool to use across the drupal
* database drivers and is used by a few different functions. The function below
* describes the conditions to be meet when querying information_schema.tables
* for drupal tables or information associated with drupal tables. Even though
Expand Down Expand Up @@ -166,7 +166,7 @@ abstract class DatabaseSchema {

/**
* Check if a table exists.
*
*
* @param $table
* The name of the table in drupal (no prefixing).
* @return
Expand All @@ -176,7 +176,7 @@ abstract class DatabaseSchema {
$condition = $this->buildTableNameCondition($this->connection->prefixTables('{' . $table . '}'));
$condition->compile($this->connection);
// Normally, we would heartily discourage the use of string
// concatination for conditionals like this however, we
// concatination for conditionals like this however, we
// couldn't use db_select() here because it would prefix
// information_schema.tables and the query would fail.
return db_query("SELECT table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments())->fetchField();
Expand All @@ -195,7 +195,7 @@ abstract class DatabaseSchema {
$condition = $this->buildTableNameCondition($table_expression, 'LIKE');
$condition->compile($this->connection);
// Normally, we would heartily discourage the use of string
// concatination for conditionals like this however, we
// concatination for conditionals like this however, we
// couldn't use db_select() here because it would prefix
// information_schema.tables and the query would fail.
return db_query("SELECT table_name FROM information_schema.tables WHERE " . (string) $condition, $condition->arguments())->fetchAllKeyed(0, 0);
Expand All @@ -209,7 +209,7 @@ abstract class DatabaseSchema {
$condition->condition('column_name', $column);
$condition->compile($this->connection);
// Normally, we would heartily discourage the use of string
// concatination for conditionals like this however, we
// concatination for conditionals like this however, we
// couldn't use db_select() here because it would prefix
// information_schema.tables and the query would fail.
return db_query("SELECT column_name FROM information_schema.columns WHERE " . (string) $condition, $condition->arguments())->fetchAllKeyed(0, 0);
Expand Down
2 changes: 1 addition & 1 deletion includes/form.inc
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function form_set_cache($form_build_id, $form, $form_state) {
*/
function drupal_execute($form_id, &$form_state) {
$args = func_get_args();

// Make sure $form_state is passed around by reference.
$args[1] = &$form_state;

Expand Down
8 changes: 4 additions & 4 deletions includes/theme.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1982,17 +1982,17 @@ function template_preprocess_node(&$variables) {
$variables['node_url'] = url('node/' . $node->nid);
$variables['title'] = check_plain($node->title);
$variables['page'] = (bool)menu_get_object();

if ($node->build_mode == NODE_BUILD_PREVIEW) {
unset($node->content['links']);
}

// Render taxonomy links separately.
$variables['terms'] = !empty($node->content['links']['terms']) ? drupal_render($node->content['links']['terms']) : '';

// Render all remaining node links.
$variables['links'] = !empty($node->content['links']) ? drupal_render($node->content['links']) : '';

// Render any comments.
$variables['comments'] = !empty($node->content['comments']) ? drupal_render($node->content['comments']) : '';

Expand Down
2 changes: 1 addition & 1 deletion misc/timezone.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Drupal.behaviors.setTimezone = {
var path = 'system/timezone/' + abbreviation + '/' + offsetNow + '/' + isDaylightSavingTime;
var element = this;
$.ajax({
async: false,
async: false,
url: Drupal.settings.basePath,
data: { q: path, date: dateString },
dataType: 'json',
Expand Down
12 changes: 6 additions & 6 deletions modules/aggregator/aggregator.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -393,10 +393,10 @@ function aggregator_admin_refresh_feed($feed) {
* @ingroup forms
*/
function aggregator_admin_form($form_state) {

// Make sure configuration is sane.
aggregator_sanitize_configuration();

// Get all available fetchers.
$fetchers = module_implements('aggregator_fetch');
foreach ($fetchers as $k => $module) {
Expand All @@ -409,7 +409,7 @@ function aggregator_admin_form($form_state) {
unset($fetchers[$k]);
$fetchers[$module] = $label;
}

// Get all available parsers.
$parsers = module_implements('aggregator_parse');
foreach ($parsers as $k => $module) {
Expand All @@ -422,7 +422,7 @@ function aggregator_admin_form($form_state) {
unset($parsers[$k]);
$parsers[$module] = $label;
}

// Get all available processors.
$processors = module_implements('aggregator_process');
foreach ($processors as $k => $module) {
Expand All @@ -435,7 +435,7 @@ function aggregator_admin_form($form_state) {
unset($processors[$k]);
$processors[$module] = $label;
}

// Only show basic configuration if there are actually options.
$basic_conf = array();
if (count($fetchers) > 1) {
Expand Down Expand Up @@ -475,7 +475,7 @@ function aggregator_admin_form($form_state) {
);
$form['basic_conf'] += $basic_conf;
}

// Implementing modules will expect an array at $form['modules'].
$form['modules'] = array();

Expand Down
Loading

0 comments on commit 6d3d75f

Please sign in to comment.