? sites/default/modules ? sites/default/settings.php Index: includes/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.inc,v retrieving revision 1.74 diff -u -p -r1.74 install.inc --- includes/install.inc 24 Oct 2008 18:21:54 -0000 1.74 +++ includes/install.inc 9 Nov 2008 17:27:27 -0000 @@ -88,7 +88,7 @@ function drupal_load_updates() { * @param $module * A module name. * @return - * If the module has updates, an array of available updates sorted by version. + * If the module has updates, an array of available updates sorted by version. * Otherwise, FALSE. */ function drupal_get_schema_versions($module) { @@ -105,10 +105,10 @@ function drupal_get_schema_versions($mod if (count($updates) == 0) { return FALSE; } - + // Make sure updates are run in numeric order, not in definition order. sort($updates, SORT_NUMERIC); - + return $updates; } @@ -213,8 +213,8 @@ function drupal_detect_database_types() // file for the driver explicitly. foreach (file_scan_directory(DRUPAL_ROOT . '/includes/database', '/^[a-z]*$/i', array('.', '..', 'CVS'), 0, FALSE) as $file) { - include_once "{$file->filename}/install.inc"; - include_once "{$file->filename}/database.inc"; + include_once "{$file->filename}/install.inc"; + include_once "{$file->filename}/database.inc"; $drivers[$file->basename] = $file->filename; } @@ -232,7 +232,7 @@ function drupal_detect_database_types() unset($databases['mysql']); $databases = array('mysql' => $mysql_database) + $databases; } - + return $databases; } @@ -466,7 +466,7 @@ function drupal_verify_profile($profile, $missing_modules = array_diff($module_list, $present_modules); $requirements = array(); - + if (count($missing_modules)) { $modules = array(); foreach ($missing_modules as $module) { @@ -544,7 +544,7 @@ function _drupal_install_module($module) */ function drupal_install_init_database() { static $included = FALSE; - + if (!$included) { $connection_info = Database::getConnectionInfo(); $driver = $connection_info['default']['driver']; @@ -568,7 +568,7 @@ function drupal_install_system() { require_once DRUPAL_ROOT . '/' . $system_path . '/system.install'; drupal_install_init_database(); module_invoke('system', 'install'); - + $system_versions = drupal_get_schema_versions('system'); $system_version = $system_versions ? max($system_versions) : SCHEMA_INSTALLED; db_query("INSERT INTO {system} (filename, name, type, owner, status, bootstrap, schema_version) VALUES('%s', '%s', '%s', '%s', %d, %d, %d)", $system_path . '/system.module', 'system', 'module', '', 1, 0, $system_version); @@ -828,7 +828,7 @@ function drupal_install_fix_file($file, /** - * Send the user to a different installer page. + * Send the user to a different installer page. * * This issues an on-site HTTP redirect. Messages (and errors) are erased. * @@ -927,7 +927,7 @@ function drupal_check_profile($profile) * Extract highest severity from requirements array. * * @param $requirements - * An array of requirements, in the same format as is returned by + * An array of requirements, in the same format as is returned by * hook_requirements(). * @return * The highest severity in the array. Index: includes/locale.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/locale.inc,v retrieving revision 1.192 diff -u -p -r1.192 locale.inc --- includes/locale.inc 8 Nov 2008 22:04:03 -0000 1.192 +++ includes/locale.inc 9 Nov 2008 17:27:27 -0000 @@ -97,7 +97,7 @@ function theme_locale_languages_overview $header = array(array('data' => t('English name')), array('data' => t('Native name')), array('data' => t('Code')), array('data' => t('Direction')), array('data' => t('Enabled')), array('data' => t('Default')), array('data' => t('Weight')), array('data' => t('Operations'))); $output = theme('table', $header, $rows, array('id' => 'language-order')); $output .= drupal_render($form); - + drupal_add_tabledrag('language-order', 'order', 'sibling', 'language-order-weight'); return $output; Index: includes/menu.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/menu.inc,v retrieving revision 1.300 diff -u -p -r1.300 menu.inc --- includes/menu.inc 8 Nov 2008 04:13:10 -0000 1.300 +++ includes/menu.inc 9 Nov 2008 17:27:27 -0000 @@ -1886,7 +1886,7 @@ function _menu_delete_item($item, $force * - plid The mlid of the parent. * - router_path The path of the relevant router item. * @return - * The mlid of the saved menu link, or FALSE if the menu link could not be + * The mlid of the saved menu link, or FALSE if the menu link could not be * saved. */ function menu_link_save(&$item) { @@ -2040,7 +2040,7 @@ function menu_link_save(&$item) { if ($existing_item && $menu_name != $existing_item['menu_name']) { menu_cache_clear($existing_item['menu_name']); } - + _menu_clear_page_cache(); } return $item['mlid']; Index: includes/session.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/session.inc,v retrieving revision 1.62 diff -u -p -r1.62 session.inc --- includes/session.inc 1 Nov 2008 21:27:38 -0000 1.62 +++ includes/session.inc 9 Nov 2008 17:27:28 -0000 @@ -229,7 +229,7 @@ function drupal_session_destroy_uid($uid * * @param int $lifetime * The value of session.gc_maxlifetime, passed by PHP. - * Sessions not updated for more than $lifetime seconds will be removed. + * Sessions not updated for more than $lifetime seconds will be removed. */ function _sess_gc($lifetime) { // Be sure to adjust 'php_value session.gc_maxlifetime' to a large enough Index: includes/database/mysql/schema.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/mysql/schema.inc,v retrieving revision 1.4 diff -u -p -r1.4 schema.inc --- includes/database/mysql/schema.inc 8 Oct 2008 11:09:16 -0000 1.4 +++ includes/database/mysql/schema.inc 9 Nov 2008 17:27:28 -0000 @@ -299,7 +299,7 @@ class DatabaseSchema_mysql extends Datab } public function changeField(&$ret, $table, $field, $field_new, $spec, $keys_new = array()) { - $sql = 'ALTER TABLE {' . $table . '} CHANGE `' . $field . '` ' . $this->createFieldSql($field_new, $this->processField($spec)); + $sql = 'ALTER TABLE {' . $table . '} CHANGE `' . $field . '` ' . $this->createFieldSql($field_new, $this->processField($spec)); if (count($keys_new)) { $sql .= ', ADD ' . implode(', ADD ', $this->createKeysSql($keys_new)); } Index: modules/aggregator/aggregator.module =================================================================== RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v retrieving revision 1.398 diff -u -p -r1.398 aggregator.module --- modules/aggregator/aggregator.module 1 Nov 2008 19:51:06 -0000 1.398 +++ modules/aggregator/aggregator.module 9 Nov 2008 17:27:28 -0000 @@ -469,7 +469,7 @@ function aggregator_save_feed($edit) { 'image' => '', )) ->execute(); - + } if (!empty($edit['title'])) { // The feed is being saved, save the categories as well. @@ -501,7 +501,7 @@ function aggregator_remove($feed) { ->condition('iid', $iids, 'IN') ->execute(); } - + db_delete('aggregator_item') ->condition('fid', $feed['fid']) ->execute(); Index: modules/aggregator/aggregator.test =================================================================== RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.test,v retrieving revision 1.14 diff -u -p -r1.14 aggregator.test --- modules/aggregator/aggregator.test 7 Nov 2008 07:12:52 -0000 1.14 +++ modules/aggregator/aggregator.test 9 Nov 2008 17:27:28 -0000 @@ -279,7 +279,7 @@ class UpdateFeedTestCase extends Aggrega $remamining_fields = array('title', 'url', ''); foreach ($remamining_fields as $same_field) { $feed = $this->createFeed(); - + // Get new feed data array and modify newly created feed. $edit = $this->getFeedEditArray(); $edit['refresh'] = 1800; // Change refresh value. @@ -469,7 +469,7 @@ class CategorizeFeedItemTestCase extends ->countQuery() ->execute() ->fetchField(); - + $this->assertEqual($feed->item_count, $categorized_count, t('Total items in feed equal to the total categorized feed items in database')); } } Index: modules/blogapi/blogapi.module =================================================================== RCS file: /cvs/drupal/drupal/modules/blogapi/blogapi.module,v retrieving revision 1.132 diff -u -p -r1.132 blogapi.module --- modules/blogapi/blogapi.module 12 Oct 2008 02:58:23 -0000 1.132 +++ modules/blogapi/blogapi.module 9 Nov 2008 17:27:28 -0000 @@ -328,7 +328,7 @@ function blogapi_blogger_get_post($appke * TRUE if no error, or the blogapi_error(). */ function blogapi_status_error_check($node, $original_status) { - + $node = (object) $node; $node_type_default = variable_get('node_options_'. $node->type, array('status', 'promote')); Index: modules/comment/comment.test =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.test,v retrieving revision 1.16 diff -u -p -r1.16 comment.test --- modules/comment/comment.test 14 Oct 2008 20:34:56 -0000 1.16 +++ modules/comment/comment.test 9 Nov 2008 17:27:28 -0000 @@ -321,7 +321,7 @@ class CommentInterfaceTest extends Comme $this->assertText('This discussion is closed', t('Posting to node with comments disabled')); $this->assertNoField('edit-comment', t('Comment body field found.')); - // Attempt to post to node with read-only comments. + // Attempt to post to node with read-only comments. $this->node = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1, 'comment' => COMMENT_NODE_READ_ONLY)); $this->assertTrue($this->node, t('Article node created.')); $this->drupalGet('comment/reply/' . $this->node->nid); @@ -462,14 +462,14 @@ class CommentAnonymous extends CommentHe $this->drupalLogin($this->admin_user); $this->setAnonymousUserComment(FALSE, FALSE); - // Attempt to view comments while disallowed. + // Attempt to view comments while disallowed. // NOTE: if authenticated user has permission to post comments, then a // "Login or register to post comments" type link may be shown. $this->drupalLogout(); $this->drupalGet('node/' . $this->node->nid); $this->assertNoRaw('