summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/aggregator/aggregator.admin.inc12
-rw-r--r--modules/aggregator/aggregator.api.php132
-rw-r--r--modules/aggregator/aggregator.fetcher.inc2
-rw-r--r--modules/aggregator/aggregator.module6
-rw-r--r--modules/aggregator/aggregator.processor.inc22
-rw-r--r--modules/block/block.api.php4
-rw-r--r--modules/book/book.module6
-rw-r--r--modules/comment/comment.api.php2
-rw-r--r--modules/comment/comment.module4
-rw-r--r--modules/filter/filter.test2
-rw-r--r--modules/node/content_types.inc4
-rw-r--r--modules/node/node.api.php18
-rw-r--r--modules/node/node.tpl.php4
-rw-r--r--modules/simpletest/tests/menu.test4
-rw-r--r--modules/simpletest/tests/session_test.module2
-rw-r--r--modules/statistics/statistics.module2
-rw-r--r--modules/system/system.api.php8
-rw-r--r--modules/taxonomy/taxonomy.install2
-rw-r--r--modules/taxonomy/taxonomy.module4
-rw-r--r--modules/upload/upload.test2
20 files changed, 121 insertions, 121 deletions
diff --git a/modules/aggregator/aggregator.admin.inc b/modules/aggregator/aggregator.admin.inc
index afafc3b56..6d9c94044 100644
--- a/modules/aggregator/aggregator.admin.inc
+++ b/modules/aggregator/aggregator.admin.inc
@@ -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) {
@@ -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) {
@@ -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) {
@@ -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) {
@@ -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();
diff --git a/modules/aggregator/aggregator.api.php b/modules/aggregator/aggregator.api.php
index e68fcb51c..5903cf862 100644
--- a/modules/aggregator/aggregator.api.php
+++ b/modules/aggregator/aggregator.api.php
@@ -13,21 +13,21 @@
/**
* Implement this hook to create an alternative fetcher for aggregator module.
- *
- * A fetcher downloads feed data to a Drupal site. The fetcher is called
- * at the first of the three aggregation stages: data is downloaded by the
- * active fetcher, it is converted to a common format by the active parser and
- * finally, it is passed to all active processors which manipulate or store the
+ *
+ * A fetcher downloads feed data to a Drupal site. The fetcher is called
+ * at the first of the three aggregation stages: data is downloaded by the
+ * active fetcher, it is converted to a common format by the active parser and
+ * finally, it is passed to all active processors which manipulate or store the
* data.
- *
- * Modules that define this hook can be set as active fetcher on
+ *
+ * Modules that define this hook can be set as active fetcher on
* admin/content/aggregator/settings. Only one fetcher can be active at a time.
- *
+ *
* @param $feed
- * The $feed object that describes the resource to be downloaded.
- * $feed->url contains the link to the feed. Download the data at the URL
+ * The $feed object that describes the resource to be downloaded.
+ * $feed->url contains the link to the feed. Download the data at the URL
* and expose it to other modules by attaching it to $feed->source_string.
- *
+ *
* @see hook_aggregator_fetch_info()
* @see hook_aggregator_parse()
* @see hook_aggregator_process()
@@ -39,19 +39,19 @@ function hook_aggregator_fetch($feed) {
}
/**
- * Implement this hook to expose the title and a short description of your
+ * Implement this hook to expose the title and a short description of your
* fetcher.
- *
- * The title and the description provided are shown on
+ *
+ * The title and the description provided are shown on
* admin/content/aggregator/settings among other places. Use as title the human
* readable name of the fetcher and as description a brief (40 to 80 characters)
* explanation of the fetcher's functionality.
- *
+ *
* This hook is only called if your module implements hook_aggregator_fetch().
* If this hook is not implemented aggregator will use your module's file name
* as title and there will be no description.
- *
- * @return
+ *
+ * @return
* An associative array defining a title and a description string.
*
* @see hook_aggregator_fetch()
@@ -67,25 +67,25 @@ function hook_aggregator_fetch_info() {
/**
* Implement this hook to create an alternative parser for aggregator module.
- *
- * A parser converts feed item data to a common format. The parser is called
- * at the second of the three aggregation stages: data is downloaded by the
- * active fetcher, it is converted to a common format by the active parser and
- * finally, it is passed to all active processors which manipulate or store the
+ *
+ * A parser converts feed item data to a common format. The parser is called
+ * at the second of the three aggregation stages: data is downloaded by the
+ * active fetcher, it is converted to a common format by the active parser and
+ * finally, it is passed to all active processors which manipulate or store the
* data.
- *
- * Modules that define this hook can be set as active parser on
+ *
+ * Modules that define this hook can be set as active parser on
* admin/content/aggregator/settings. Only one parser can be active at a time.
- *
+ *
* @param $feed
- * The $feed object that describes the resource to be parsed.
- * $feed->source_string contains the raw feed data as a string. Parse data
- * from $feed->source_string and expose it to other modules as an array of
- * data items on $feed->items.
- *
+ * The $feed object that describes the resource to be parsed.
+ * $feed->source_string contains the raw feed data as a string. Parse data
+ * from $feed->source_string and expose it to other modules as an array of
+ * data items on $feed->items.
+ *
* By convention, the common format for a single feed item is:
* $item[key-name] = value;
- *
+ *
* Recognized keys:
* TITLE (string) - the title of a feed item
* DESCRIPTION (string) - the description (body text) of a feed item
@@ -97,7 +97,7 @@ function hook_aggregator_fetch_info() {
* @see hook_aggregator_parse_info()
* @see hook_aggregator_fetch()
* @see hook_aggregator_process()
- *
+ *
* @ingroup aggregator
*/
function hook_aggregator_parse($feed) {
@@ -105,19 +105,19 @@ function hook_aggregator_parse($feed) {
}
/**
- * Implement this hook to expose the title and a short description of your
+ * Implement this hook to expose the title and a short description of your
* parser.
- *
- * The title and the description provided are shown on
+ *
+ * The title and the description provided are shown on
* admin/content/aggregator/settings among other places. Use as title the human
* readable name of the parser and as description a brief (40 to 80 characters)
* explanation of the parser's functionality.
- *
+ *
* This hook is only called if your module implements hook_aggregator_parse().
* If this hook is not implemented aggregator will use your module's file name
* as title and there will be no description.
- *
- * @return
+ *
+ * @return
* An associative array defining a title and a description string.
*
* @see hook_aggregator_parse()
@@ -133,22 +133,22 @@ function hook_aggregator_parse_info() {
/**
* Implement this hook to create a processor for aggregator module.
- *
- * A processor acts on parsed feed data. Active processors are called at the
+ *
+ * A processor acts on parsed feed data. Active processors are called at the
* third and last of the aggregation stages: data is downloaded by the active
- * fetcher, it is converted to a common format by the active parser and
+ * fetcher, it is converted to a common format by the active parser and
* finally, it is passed to all active processors which manipulate or store the
* data.
- *
- * Modules that define this hook can be activated as processor on
+ *
+ * Modules that define this hook can be activated as processor on
* admin/content/aggregator/settings.
- *
+ *
* @param $feed
* The $feed object that describes the resource to be processed. $feed->items
- * contains an array of feed items downloaded and parsed at the parsing
- * stage. See hook_aggregator_parse() for the basic format of a single item
- * in the $feed->items array. For the exact format refer to the particular
- * parser in use.
+ * contains an array of feed items downloaded and parsed at the parsing
+ * stage. See hook_aggregator_parse() for the basic format of a single item
+ * in the $feed->items array. For the exact format refer to the particular
+ * parser in use.
*
* @see hook_aggregator_process_info()
* @see hook_aggregator_fetch()
@@ -162,20 +162,20 @@ function hook_aggregator_process($feed) {
}
}
-/**
- * Implement this hook to expose the title and a short description of your
+/**
+ * Implement this hook to expose the title and a short description of your
* processor.
- *
- * The title and the description provided are shown most importantly on
- * admin/content/aggregator/settings . Use as title the natural name of the
- * processor and as description a brief (40 to 80 characters) explanation of
+ *
+ * The title and the description provided are shown most importantly on
+ * admin/content/aggregator/settings . Use as title the natural name of the
+ * processor and as description a brief (40 to 80 characters) explanation of
* the functionality.
*
- * This hook is only called if your module implements
- * hook_aggregator_process(). If this hook is not implemented aggregator
+ * This hook is only called if your module implements
+ * hook_aggregator_process(). If this hook is not implemented aggregator
* will use your module's file name as title and there will be no description.
- *
- * @return
+ *
+ * @return
* An associative array defining a title and a description string.
*
* @see hook_aggregator_process()
@@ -190,16 +190,16 @@ function hook_aggregator_process_info($feed) {
}
/**
- * Implement this hook to remove stored data if a feed is being deleted or a
- * feed's items are being removed.
- *
- * Aggregator calls this hook if either a feed is deleted or a user clicks on
- * "remove items".
- *
+ * Implement this hook to remove stored data if a feed is being deleted or a
+ * feed's items are being removed.
+ *
+ * Aggregator calls this hook if either a feed is deleted or a user clicks on
+ * "remove items".
+ *
* If your module stores feed items for example on hook_aggregator_process() it
- * is recommended to implement this hook and to remove data related to $feed
+ * is recommended to implement this hook and to remove data related to $feed
* when called.
- *
+ *
* @param $feed
* The $feed object whose items are being removed.
*
diff --git a/modules/aggregator/aggregator.fetcher.inc b/modules/aggregator/aggregator.fetcher.inc
index 026389815..9d1f8f580 100644
--- a/modules/aggregator/aggregator.fetcher.inc
+++ b/modules/aggregator/aggregator.fetcher.inc
@@ -21,7 +21,7 @@ function aggregator_aggregator_fetch_info() {
*/
function aggregator_aggregator_fetch($feed) {
$feed->source_string = FALSE;
-
+
// Generate conditional GET headers.
$headers = array();
if ($feed->etag) {
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index dd3a14f5a..5791a9358 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -601,7 +601,7 @@ function theme_aggregator_block_item($item, $feed = 0) {
// Display the external link to the item.
return '<a href="' . check_url($item->link) . '">' . check_plain($item->title) . "</a>\n";
-
+
}
/**
@@ -618,10 +618,10 @@ function aggregator_filter_xss($value) {
/**
* Check and sanitize aggregator configuration.
- *
+ *
* Goes through all fetchers, parsers and processors and checks whether they are available.
* If one is missing resets to standard configuration.
- *
+ *
* @return
* TRUE if this function reset the configuration FALSE if not.
*/
diff --git a/modules/aggregator/aggregator.processor.inc b/modules/aggregator/aggregator.processor.inc
index 42fe606f0..22028fae3 100644
--- a/modules/aggregator/aggregator.processor.inc
+++ b/modules/aggregator/aggregator.processor.inc
@@ -57,13 +57,13 @@ function aggregator_aggregator_remove($feed) {
db_delete('aggregator_item')
->condition('fid', $feed->fid)
->execute();
-
+
drupal_set_message(t('The news items from %site have been removed.', array('%site' => $feed->title)));
}
/**
* Implementation of hook_form_aggregator_admin_form_alter().
- *
+ *
* Form alter aggregator module's own form to keep processor functionality
* separate from aggregator API functionality.
*/
@@ -86,28 +86,28 @@ function aggregator_form_aggregator_admin_form_alter(&$form, $form_state) {
else {
$form['modules']['aggregator'] = array();
}
-
+
$form['modules']['aggregator']['aggregator_summary_items'] = array(
- '#type' => 'select',
+ '#type' => 'select',
'#title' => t('Items shown in sources and categories pages') ,
- '#default_value' => variable_get('aggregator_summary_items', 3),
+ '#default_value' => variable_get('aggregator_summary_items', 3),
'#options' => $items,
'#description' => t('Number of feed items displayed in feed and category summary pages.'),
);
$form['modules']['aggregator']['aggregator_clear'] = array(
- '#type' => 'select',
+ '#type' => 'select',
'#title' => t('Discard items older than'),
- '#default_value' => variable_get('aggregator_clear', 9676800),
+ '#default_value' => variable_get('aggregator_clear', 9676800),
'#options' => $period,
'#description' => t('The length of time to retain feed items before discarding. (Requires a correctly configured <a href="@cron">cron maintenance task</a>.)', array('@cron' => url('admin/reports/status'))),
);
$form['modules']['aggregator']['aggregator_category_selector'] = array(
- '#type' => 'radios',
- '#title' => t('Category selection type'),
+ '#type' => 'radios',
+ '#title' => t('Category selection type'),
'#default_value' => variable_get('aggregator_category_selector', 'checkboxes'),
- '#options' => array('checkboxes' => t('checkboxes'),
+ '#options' => array('checkboxes' => t('checkboxes'),
'select' => t('multiple selector')),
'#description' => t('The type of category selection widget displayed on categorization pages. (For a small number of categories, checkboxes are easier to use, while a multiple selector works well with large numbers of categories.)'),
);
@@ -158,7 +158,7 @@ function aggregator_save_item($edit) {
/**
* Expire feed items on $feed that are older than aggregator_clear.
- *
+ *
* @param $feed
* Object describing feed.
*/
diff --git a/modules/block/block.api.php b/modules/block/block.api.php
index 72a2c6657..5540302e8 100644
--- a/modules/block/block.api.php
+++ b/modules/block/block.api.php
@@ -77,7 +77,7 @@ function hook_block_list() {
* and also by block.module to procure the list of available blocks.
*
* @param $delta
- * Which block to return. This is a descriptive string used to identify
+ * Which block to return. This is a descriptive string used to identify
* blocks within each module and also within the theme system.
* The $delta for each block is defined within the array that your module
* returns when the hook_block_list() implementation is called.
@@ -135,7 +135,7 @@ function hook_block_save($delta = '', $edit = array()) {
* and also by block.module to procure the list of available blocks.
*
* @param $delta
- * Which block to return. This is a descriptive string used to identify
+ * Which block to return. This is a descriptive string used to identify
* blocks within each module and also within the theme system.
* The $delta for each block is defined within the array that your module
* returns when the hook_block_list() implementation is called.
diff --git a/modules/book/book.module b/modules/book/book.module
index e86bd94b1..f2ffb7177 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -61,11 +61,11 @@ function book_perm() {
}
/**
- * Inject links into $node as needed.
+ * Inject links into $node as needed.
*/
function book_nodeapi_view_link($node, $teaser, $page) {
$links = array();
-
+
if (isset($node->book['depth'])) {
if (!$teaser) {
$child_type = variable_get('book_child_type', 'book');
@@ -749,7 +749,7 @@ function book_nodeapi_view($node, $teaser, $page) {
}
}
}
-
+
book_nodeapi_view_link($node, $teaser, $page);
}
diff --git a/modules/comment/comment.api.php b/modules/comment/comment.api.php
index 9b431e98d..377be4786 100644
--- a/modules/comment/comment.api.php
+++ b/modules/comment/comment.api.php
@@ -26,7 +26,7 @@ function hook_comment_insert(&$form_values) {
}
/**
- * The user has just finished editing the comment and is trying to
+ * The user has just finished editing the comment and is trying to
* preview or submit it. This hook can be used to check or
* even modify the node. Errors should be set with form_set_error().
*
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 913a1a548..b1e48ed3a 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -484,7 +484,7 @@ function comment_nodeapi_view($node, $teaser) {
}
}
}
-
+
if (isset($links['comment_forbidden'])) {
$links['comment_forbidden']['html'] = TRUE;
}
@@ -493,7 +493,7 @@ function comment_nodeapi_view($node, $teaser) {
'#type' => 'node_links',
'#value' => $links,
);
-
+
// Append the list of comments to $node->content for node detail pages.
if ($node->comment && (bool)menu_get_object() && $node->build_mode != NODE_BUILD_PREVIEW) {
$node->content['comments'] = array(
diff --git a/modules/filter/filter.test b/modules/filter/filter.test
index ba9518851..482c097bb 100644
--- a/modules/filter/filter.test
+++ b/modules/filter/filter.test
@@ -202,7 +202,7 @@ class FilterTestCase extends DrupalWebTestCase {
function testLineBreakFilter() {
$f = _filter_autop('<p><div> </div></p>');
$this->assertEqual(substr_count($f, '<p>'), substr_count($f, '</p>'), t('Make sure line breaking produces matching paragraph tags.'));
-
+
$f = _filter_autop('<div><p> </p></div>');
$this->assertEqual(substr_count($f, '<p>'), substr_count($f, '</p>'), t('Make sure line breaking produces matching paragraph tags.'));
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index e3b0dea39..d7f6eb00c 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -169,8 +169,8 @@ function node_type_form(&$form_state, $type = NULL) {
'#type' => 'checkbox',
'#title' => t('Display post information'),
'#default_value' => variable_get('node_submitted_'. $type->type, TRUE),
- '#description' => t('Enable the <em>submitted by Username on date</em> text.'),
- );
+ '#description' => t('Enable the <em>submitted by Username on date</em> text.'),
+ );
$form['old_type'] = array(
'#type' => 'value',
'#value' => $type->type,
diff --git a/modules/node/node.api.php b/modules/node/node.api.php
index b90e65d10..68050065d 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -158,10 +158,10 @@ function hook_node_operations() {
* Fiter, substitute or otherwise alter the $node's raw text.
*
* The $node->content array has been rendered, so the node body or
- * teaser is filtered and now contains HTML. This hook should only be
- * used when text substitution, filtering, or other raw text operations
+ * teaser is filtered and now contains HTML. This hook should only be
+ * used when text substitution, filtering, or other raw text operations
* are necessary.
- *
+ *
* @param $node
* The node the action is being performed on.
* @param $teaser
@@ -300,7 +300,7 @@ function hook_nodeapi_rss_item($node) {
}
/**
- * The node is being displayed as a search result.
+ * The node is being displayed as a search result.
*
* If you want to display extra information with the result, return it.
*
@@ -366,9 +366,9 @@ function hook_nodeapi_update_index($node) {
}
/**
- * The user has finished editing the node and is previewing or submitting it.
+ * The user has finished editing the node and is previewing or submitting it.
*
- * This hook can be used to check the node data. Errors should be set with
+ * This hook can be used to check the node data. Errors should be set with
* form_set_error().
*
* @param $node
@@ -387,10 +387,10 @@ function hook_nodeapi_validate($node, $form) {
}
/**
- * The node content is being assembled before rendering.
+ * The node content is being assembled before rendering.
*
- * The module may add elements $node->content prior to rendering. This hook
- * will be called after hook_view(). The structure of $node->content is a renderable
+ * The module may add elements $node->content prior to rendering. This hook
+ * will be called after hook_view(). The structure of $node->content is a renderable
* array as expected by drupal_render().
*
* @param $node
diff --git a/modules/node/node.tpl.php b/modules/node/node.tpl.php
index 4162a83e1..241f71407 100644
--- a/modules/node/node.tpl.php
+++ b/modules/node/node.tpl.php
@@ -71,7 +71,7 @@
</div>
<?php print $links; ?>
-
+
<?php print $comments; ?>
-
+
</div> \ No newline at end of file
diff --git a/modules/simpletest/tests/menu.test b/modules/simpletest/tests/menu.test
index ee2a30a7b..802216c26 100644
--- a/modules/simpletest/tests/menu.test
+++ b/modules/simpletest/tests/menu.test
@@ -51,7 +51,7 @@ class MenuRebuildTestCase extends DrupalWebTestCase {
'group' => t('Menu'),
);
}
-
+
/**
* Test if the 'menu_rebuild_needed' variable triggers a menu_rebuild() call.
*/
@@ -75,5 +75,5 @@ class MenuRebuildTestCase extends DrupalWebTestCase {
$admin_exists = db_result(db_query("SELECT path from {menu_router} WHERE path = 'admin'"));
$this->assertEqual($admin_exists, 'admin', t("The menu has been rebuilt, the path 'admin' now exists again."));
}
-
+
}
diff --git a/modules/simpletest/tests/session_test.module b/modules/simpletest/tests/session_test.module
index 12eabfe34..4a3f51f7a 100644
--- a/modules/simpletest/tests/session_test.module
+++ b/modules/simpletest/tests/session_test.module
@@ -120,7 +120,7 @@ function _session_test_set_message() {
*/
function _session_test_set_not_started() {
if (!drupal_session_is_started()) {
- $_SESSION['session_test_value'] = t('Session was not started');
+ $_SESSION['session_test_value'] = t('Session was not started');
}
}
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 4bb696098..edfba3994 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -111,7 +111,7 @@ function statistics_nodeapi_view($node, $teaser, $page) {
$links['statistics_counter']['title'] = format_plural($statistics['totalcount'], '1 read', '@count reads');
}
}
-
+
$node->content['links']['statistics'] = array(
'#type' => 'node_links',
'#value' => $links,
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 7066508c1..3c74f48db 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -1382,14 +1382,14 @@ function hook_schema_alter(&$schema) {
*
* @see hook_query_TAG_alter()
* @see node_query_node_access_alter()
- *
+ *
* @param $query
* A Query object describing the composite parts of a SQL query.
* @return
* None.
*/
function hook_query_alter(QueryAlterableInterface $query) {
-
+
}
/**
@@ -1397,7 +1397,7 @@ function hook_query_alter(QueryAlterableInterface $query) {
*
* @see hook_query_alter()
* @see node_query_node_access_alter()
- *
+ *
* @param $query
* An Query object describing the composite parts of a SQL query.
* @return
@@ -1430,7 +1430,7 @@ function hook_query_TAG_alter(QueryAlterableInterface $query) {
if (count($or->conditions())) {
$query->condition($or);
}
-
+
$query->condition("{$access_alias}.grant_$op", 1, '>=');
}
}
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index 9fc2ad23c..618f1c1bd 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -312,6 +312,6 @@ function taxonomy_update_7001() {
db_rename_table($ret, 'term_synonym', 'taxonomy_term_synonym');
db_rename_table($ret, 'vocabulary', 'taxonomy_vocabulary');
db_rename_table($ret, 'vocabulary_node_types', 'taxonomy_vocabulary_node_type');
-
+
return $ret;
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 695b45bc1..109397f3c 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -73,7 +73,7 @@ function taxonomy_nodeapi_view($node) {
}
}
}
-
+
$node->content['links']['terms'] = array(
'#type' => 'node_links',
'#value' => $links,
@@ -323,7 +323,7 @@ function taxonomy_term_save($term) {
$status = drupal_write_record('taxonomy_term_data', $term);
module_invoke_all('taxonomy_term_update', $term);
}
-
+
$or = db_or()->condition('tid1', $term->tid)->condition('tid2', $term->tid);
db_delete('taxonomy_term_relation')->condition($or)->execute();
diff --git a/modules/upload/upload.test b/modules/upload/upload.test
index 42e58cf9d..79358225b 100644
--- a/modules/upload/upload.test
+++ b/modules/upload/upload.test
@@ -50,7 +50,7 @@ class UploadTestCase extends DrupalWebTestCase {
$this->checkUploadedFile(basename($files[0]));
$this->checkUploadedFile(basename($files[1]));
-
+
// Assure that the attachment link appears on teaser view and has correct count.
$node = node_load($node->nid);
$teaser = node_view($node, TRUE);