Index: modules/statistics/statistics.module =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v retrieving revision 1.283 diff -u -r1.283 statistics.module --- modules/statistics/statistics.module 17 Sep 2008 07:11:58 -0000 1.283 +++ modules/statistics/statistics.module 30 Sep 2008 18:02:59 -0000 @@ -90,6 +90,22 @@ } /** + * Implementation of hook_variables(). + */ +function statistics_variables() { + return array( + 'statistics_flush_accesslog_timer' => 259200, + 'statistics_enable_access_log' => 0, + 'statistics_count_content_views' => 0, + 'statistics_day_timestamp' => '', + 'statistics_block_top_day_num' => 0, + 'statistics_block_top_all_num' => 0, + 'statistics_block_top_last_num' => 0, + 'node_cron_views_scale' => 0, + ); +} + +/** * Implementation of hook_link(). */ function statistics_link($type, $node = NULL, $teaser = FALSE) { Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.978 diff -u -r1.978 node.module --- modules/node/node.module 27 Sep 2008 19:47:43 -0000 1.978 +++ modules/node/node.module 30 Sep 2008 18:02:58 -0000 @@ -139,6 +139,20 @@ } /** + * Implementation of hook_variables(). + */ +function node_variables() { + return array( + 'node_options' => array('status', 'promote'), + 'node_cron_last' => 0, + 'default_nodes_main' => 10, + 'teaser_length' => 600, + 'node_preview' => 0, + 'node_access_needs_rebuild' => FALSE, + ); +} + +/** * Implementation of hook_cron(). */ function node_cron() { @@ -1773,9 +1787,9 @@ $channel_defaults = array( 'version' => '2.0', - 'title' => variable_get('site_name', 'Drupal'), + 'title' => variable_get('site_name'), 'link' => $base_url, - 'description' => variable_get('site_mission', ''), + 'description' => variable_get('site_mission'), 'language' => $language->language ); $channel = array_merge($channel_defaults, $channel); @@ -2367,7 +2381,7 @@ */ function node_access_needs_rebuild($rebuild = NULL) { if (!isset($rebuild)) { - return variable_get('node_access_needs_rebuild', FALSE); + return variable_get('node_access_needs_rebuild'); } elseif ($rebuild) { variable_set('node_access_needs_rebuild', TRUE); Index: modules/filter/filter.module =================================================================== RCS file: /cvs/drupal/drupal/modules/filter/filter.module,v retrieving revision 1.227 diff -u -r1.227 filter.module --- modules/filter/filter.module 19 Sep 2008 07:53:59 -0000 1.227 +++ modules/filter/filter.module 30 Sep 2008 18:02:58 -0000 @@ -130,6 +130,19 @@ return $items; } +/** + * Implementation of hook_variables(). + */ +function filter_variables() { + return array( + 'filter_default_format' => 1, + 'allowed_html' => '